diff options
author | krion <krion@FreeBSD.org> | 2005-04-06 14:08:31 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-04-06 14:08:31 +0000 |
commit | 76c49f15f02d8baee51ab215a57528ffa1378599 (patch) | |
tree | 45abae3017cabed99e4d7bb414574228990c7e66 /mail/exim | |
parent | b0d02508635b26fa6c1a00514647580b5a80c63e (diff) | |
download | FreeBSD-ports-76c49f15f02d8baee51ab215a57528ffa1378599.zip FreeBSD-ports-76c49f15f02d8baee51ab215a57528ffa1378599.tar.gz |
Use customized DUMMY_LDFLAGS in enviroment instead of LDFLAGS to fix
run on 4.x with lang/perl5.8 and WITH_OPENSSL_PORT.
Suggested by: tobez
Submitted by: Patrick Eisenacher <eisenacher at s3-solutions dot de>
Diffstat (limited to 'mail/exim')
-rw-r--r-- | mail/exim/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile index 48665c6..47f5b23 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -80,7 +80,7 @@ PKGMESSAGE= ${WRKDIR}/POST-INSTALL-NOTES PKGMESSAGE= ${WRKDIR}/pkg-message .endif -MAKE_ENV+= OSTYPE="${OPSYS}" ARCHTYPE="${ARCH}" +MAKE_ENV+= OSTYPE="${OPSYS}" ARCHTYPE="${ARCH}" DUMMY_LDFLAGS="${DUMMY_LDFLAGS}" .if defined(EXIMON_ONLY) MAKE_ENV+= INSTALL_ARG="eximon eximon.bin" .elif defined(WITHOUT_SUID) @@ -547,6 +547,8 @@ WITHOUT_IPV6= yes SEDLIST+= -e 's,^\# (HAVE_IPV6=),\1,' .endif +DUMMY_LDFLAGS!= ${ECHO_CMD} ${LDFLAGS} | ${SED} -e 's|-Wl,-rpath|-Wl,-DUMMYrpath|g; s|-rpath|-Wl,-rpath|g; s|-DUMMYrpath|-rpath|g' + pre-everything:: .if empty(.MAKEFLAGS:M-s) && defined(WITH_WISHLIST) @${ECHO} '' @@ -570,6 +572,7 @@ do-configure: .endif @[ ! -f ${PKGDIR}/pkg-install ] || ${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-install > ${PKGINSTALL} @${REINPLACE_CMD} -E ${SEDLIST} ${WRKSRC}/src/configure.default + @${REINPLACE_CMD} -e 's/$$(LDFLAGS)/$$(DUMMY_LDFLAGS)/' ${WRKSRC}/OS/Makefile-Base @${REINPLACE_CMD} -e 's/"(Exim $$version_number)\\n\\t"/"(Exim $$version_number (${OPSYS}))\\n\\t"/' \ ${WRKSRC}/src/globals.c @${REINPLACE_CMD} -e 's/Exim version %s \(#%s \)\{0,1\}/&(${OPSYS} ${OSREL}) /' ${WRKSRC}/src/exim.c |