summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2005-03-09 12:41:42 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2005-03-09 12:41:42 +0000
commit2e6f503b6df4927bd37abf72283cced144900d13 (patch)
treeb1c6ae02626a7c0ced17ca6fa974524758f4db36 /mail
parent- Add p5-Apache-GopherHandler 0.1, a gopher protocol implementation for Apache2. (diff)
- Fix WITH_AUTHLIB=yes case by patching LIBS in Makefile.in [1]
(adds -rpath=${LOCALBASE}/lib/courier-authlib). Unlike the previous solution (add it to LDFLAGS) this does work PR: ports/77874 Submitted by: Thomas T. Velhdouse <veldy@veldy.net> (error report) Obtained from: Douglas Fraser <doug@idmf.net> [1] (actual fix)
Notes
Notes: svn path=/head/; revision=130715
Diffstat (limited to 'mail')
-rw-r--r--mail/maildrop/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index afe09abfc858..3be41a7bf6d5 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -19,6 +19,7 @@
PORTNAME= maildrop
PORTVERSION= 1.8.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
@@ -68,7 +69,13 @@ CONFIGURE_ARGS+= --enable-trusted-users="${MAILDROP_TRUSTED_USERS}"
.if defined(WITH_AUTHLIB)
BUILD_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib
RUN_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib
-LDFLAGS+= -L${LOCALBASE}/lib/courier-authlib -rpath ${LOCALBASE}/lib/courier-authlib
+USE_REINPLACE= yes
+CONFIGURE_ARGS+= --enable-authlib
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ \
+ -rpath=:${LOCALBASE}/lib/courier-authlib|' \
+ ${WRKSRC}/maildrop/Makefile.in
.else
CONFIGURE_ARGS+= --disable-authlib
.endif