diff options
Diffstat (limited to 'security/nss/pkg/solaris')
-rwxr-xr-x | security/nss/pkg/solaris/Makefile-devl.com | 5 | ||||
-rwxr-xr-x | security/nss/pkg/solaris/Makefile-tlsu.com | 5 | ||||
-rw-r--r-- | security/nss/pkg/solaris/Makefile.com | 4 |
3 files changed, 11 insertions, 3 deletions
diff --git a/security/nss/pkg/solaris/Makefile-devl.com b/security/nss/pkg/solaris/Makefile-devl.com index 5d28d5ffd..3a6c89d2c 100755 --- a/security/nss/pkg/solaris/Makefile-devl.com +++ b/security/nss/pkg/solaris/Makefile-devl.com @@ -57,7 +57,10 @@ FILES = $(DATAFILES) pkginfo PACKAGE = $(shell basename `pwd`) -PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//') +PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h \ + | head -1 \ + | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//' \ + | cut -d. -f 1-3) LN = /usr/bin/ln diff --git a/security/nss/pkg/solaris/Makefile-tlsu.com b/security/nss/pkg/solaris/Makefile-tlsu.com index 5d28d5ffd..3a6c89d2c 100755 --- a/security/nss/pkg/solaris/Makefile-tlsu.com +++ b/security/nss/pkg/solaris/Makefile-tlsu.com @@ -57,7 +57,10 @@ FILES = $(DATAFILES) pkginfo PACKAGE = $(shell basename `pwd`) -PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//') +PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h \ + | head -1 \ + | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//' \ + | cut -d. -f 1-3) LN = /usr/bin/ln diff --git a/security/nss/pkg/solaris/Makefile.com b/security/nss/pkg/solaris/Makefile.com index 297a2ee8f..4858201f1 100644 --- a/security/nss/pkg/solaris/Makefile.com +++ b/security/nss/pkg/solaris/Makefile.com @@ -57,7 +57,9 @@ FILES = $(DATAFILES) pkginfo prototype PACKAGE = $(shell basename `pwd`) PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.h \ - | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//') + | head -1 \ + | sed -e 's/[^"]*"//' -e 's/".*//' -e 's/ .*//' \ + | cut -d. -f 1-3) LN = /usr/bin/ln CP = /usr/bin/cp |