diff options
author | sergei <sergei@FreeBSD.org> | 2005-03-09 20:41:42 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2005-03-09 20:41:42 +0800 |
commit | 7a1a6009a9927556105d1141cd03a20168292792 (patch) | |
tree | cc662eeb2dc93c42f1877cdb355bd178b3dccd1d /mail | |
parent | e55dae548b63b60cb4abc32ad39b8dc47fece545 (diff) | |
download | freebsd-ports-gnome-7a1a6009a9927556105d1141cd03a20168292792.tar.gz freebsd-ports-gnome-7a1a6009a9927556105d1141cd03a20168292792.tar.zst freebsd-ports-gnome-7a1a6009a9927556105d1141cd03a20168292792.zip |
- 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)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/maildrop/Makefile | 9 |
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 |