aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-04-06 14:08:31 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-04-06 14:08:31 +0000
commit340bb187f7eb6bf17f3533e4a0206ad93a25f3d6 (patch)
treeaed1fb7728495c80f20ad88ab8c261ffb19c3c0d /mail
parent88c296ed90a32a28f778f86da2129f9e7cfe5e91 (diff)
downloadports-340bb187f7eb6bf17f3533e4a0206ad93a25f3d6.tar.gz
ports-340bb187f7eb6bf17f3533e4a0206ad93a25f3d6.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/exim/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 48665c6acefe..47f5b23f9fd8 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