diff options
author | skv <skv@FreeBSD.org> | 2008-12-25 02:05:19 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2008-12-25 02:05:19 +0800 |
commit | 55b8fd10780161e3d032804b7de2c9ea74ab32dd (patch) | |
tree | 924dc18f8e775e1535adabd05523b1d8a094c354 /mail | |
parent | f6f452f4b4484d2f4706eeb267a90bce89a4e0d2 (diff) | |
download | freebsd-ports-gnome-55b8fd10780161e3d032804b7de2c9ea74ab32dd.tar.gz freebsd-ports-gnome-55b8fd10780161e3d032804b7de2c9ea74ab32dd.tar.zst freebsd-ports-gnome-55b8fd10780161e3d032804b7de2c9ea74ab32dd.zip |
Unbreak build on 6.x
Submitted by: Bill Milford <bill xx themilfords.com>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/libdkim/Makefile | 9 | ||||
-rw-r--r-- | mail/libdkim/files/Makefile | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/mail/libdkim/Makefile b/mail/libdkim/Makefile index 6000ba3812ef..932bbbf8aa6b 100644 --- a/mail/libdkim/Makefile +++ b/mail/libdkim/Makefile @@ -22,12 +22,13 @@ USE_OPENSSL= YES WRKSRC= ${WRKDIR}/${DISTNAME}/src -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 700000 -BROKEN= does not compile on FreeBSD 6.x +#Check for OPENSSL 0.9.8 in BASE: If not present require PORT +.if !exists(${DESTDIR}/lib/libcrypto.so.5) +WITH_OPENSSL_PORT= YES .endif +.include <bsd.port.pre.mk> + post-patch: ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ diff --git a/mail/libdkim/files/Makefile b/mail/libdkim/files/Makefile index c979609f97f5..684527884d66 100644 --- a/mail/libdkim/files/Makefile +++ b/mail/libdkim/files/Makefile @@ -8,8 +8,8 @@ SHLIB_MAJOR= %%SHLIB_MAJOR%% LIBDIR= ${PREFIX}/lib INCLUDEDIR= ${PREFIX}/include -CFLAGS+= -DOPENSSL_FIPS -I${OPENSSLBASE}/include -LDFLAGS+= -lcrypto -L${OPENSSLBASE}/lib +CFLAGS+= -DOPENSSL_FIPS -I${OPENSSLINC} +LDFLAGS+= -lcrypto -L${OPENSSLLIB} NO_PROFILE= |