aboutsummaryrefslogtreecommitdiff
path: root/mail/maildrop/Makefile
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/maildrop/Makefile
parentb0c77ceb76b279f6aa1fc3cc9758552083ebc1cd (diff)
downloadports-2e6f503b6df4927bd37abf72283cced144900d13.tar.gz
ports-2e6f503b6df4927bd37abf72283cced144900d13.zip
Notes
Diffstat (limited to 'mail/maildrop/Makefile')
-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