diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-10-27 05:32:19 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-10-27 05:32:19 +0800 |
commit | 3ee406a0ebfc14eda43137df5ee5a3d4c91dec29 (patch) | |
tree | bbbf0441a45fca5b15bf29f3634c0d15cf401c54 /security/openssl/Makefile | |
parent | dcbdf7aa4309e72653870d388ab04e3ff0d5f59e (diff) | |
download | freebsd-ports-gnome-3ee406a0ebfc14eda43137df5ee5a3d4c91dec29.tar.gz freebsd-ports-gnome-3ee406a0ebfc14eda43137df5ee5a3d4c91dec29.tar.zst freebsd-ports-gnome-3ee406a0ebfc14eda43137df5ee5a3d4c91dec29.zip |
- Bugfix update to 0.9.7e
- md5 verfied with website
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r-- | security/openssl/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile index d12d6ef3bb86..e95667836cba 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -10,8 +10,7 @@ PORTNAME= openssl PORTVERSION= 0.9.7 PORTREVISION!= date -v-1d +%Y%m%d .else -PORTVERSION= 0.9.7d -PORTREVISION= 1 +PORTVERSION= 0.9.7e .endif CATEGORIES= security devel MASTER_SITES= http://www.openssl.org/%SUBDIR%/ \ @@ -50,6 +49,7 @@ OPENSSL_SHLIBVER?= 3 MAKE_ENV+= MANPREFIX=${MANPREFIX} NOPRECIOUSMAKEVARS= Too many _MLINKS for fetch +USE_REINPLACE= yes USE_PERL5_BUILD= yes CFLAGS+= -Wl,-rpath,${LOCALBASE}/lib @@ -854,11 +854,12 @@ MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=-Bforcearchive MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive .endif +EXTRACONFIGURE+= no-fips .if defined(NOSHARED) PLIST_SUB+= SHARED="@comment " .else PLIST_SUB+= SHARED="" -ALL_TARGET= freebsd-shared all +EXTRACONFIGURE+= shared MAKE_ENV+= SHLIBVER=${OPENSSL_SHLIBVER} PLIST_SUB+= SHLIBVER=${OPENSSL_SHLIBVER} INSTALLS_SHLIB= yes @@ -889,8 +890,8 @@ PLIST_SUB+= NOBASE="" .endif .if defined(BATCH) || defined(OPENSSL_WITH_386) -.if ${MACHINE_ARCH} == "i386" -EXTRACONFIGURE= 386 +.if ${ARCH} == "i386" +EXTRACONFIGURE+= 386 .endif .endif @@ -900,6 +901,13 @@ do-configure: PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} \ ./config --prefix=${PREFIX} --openssldir=${OPENSSLDIR} \ -L${PREFIX}/lib ${EXTRACONFIGURE} + @${REINPLACE_CMD} \ + -e 's|^FIPS_DES_ENC=|#FIPS_DES_ENC=|' \ + -e 's|^FIPS_SHA1_ASM_OBJ=|#FIPS_SHA1_ASM_OBJ=|' \ + -e 's|^SHLIB_EXT=.*$$|SHLIB_EXT=.so.$(SHLIBVER)|' \ + -e 's|^SHARED_LIBS_LINK_EXTS=.*$$|SHARED_LIBS_LINK_EXTS=.so|' \ + -e 's|^SHLIBDIRS= fips|SHLIBDIRS=|' \ + ${WRKSRC}/Makefile post-install: .if !defined(NOSHARED) |