diff -r 577f82319ed3 -r 935cf5917cbc usr/src/pkg/Makefile --- a/usr/src/pkg/Makefile Sun Apr 22 15:19:49 2012 +0100 +++ b/usr/src/pkg/Makefile Thu Apr 26 21:14:28 2012 +0100 @@ -152,6 +152,10 @@ i386_ARCH64= amd64 sparc_ARCH64= sparcv9 +OPENSSL = /usr/bin/openssl +OPENSSL10.cmd = $(OPENSSL) version | $(NAWK) '{if($$2<1){print "\043";}}' +OPENSSL10_ONLY = $(OPENSSL10.cmd:sh) + # # macros and transforms needed by pkgmogrify # @@ -168,6 +172,7 @@ PKGMOG_DEFINES= \ i386_ONLY=$(POUND_SIGN) \ sparc_ONLY=$(POUND_SIGN) \ + OPENSSL10_ONLY=$(OPENSSL10_ONLY) \ $(PKGMACH)_ONLY= \ ARCH=$(PKGMACH) \ ARCH32=$($(PKGMACH)_ARCH32) \