ports/132040: [PATCH] mail/maildrop: make fails with WITH_AUTHLIB=yes
Yasuhiro KIMURA
yasu at utahime.org
Tue Feb 24 03:40:02 UTC 2009
>Number: 132040
>Category: ports
>Synopsis: [PATCH] mail/maildrop: make fails with WITH_AUTHLIB=yes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 24 03:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yasuhiro KIMURA
>Release: FreeBSD 7.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD xxxx 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #0: Wed Feb 18 23:21:12 JST 2009 xxxx i386
>Description:
Make fails when WITH_AUTHLIB is set to yes.
>How-To-Repeat:
>Fix:
--- patch-maildrop begins here ---
Index: Makefile
===================================================================
RCS file: /usr1/freebsd/cvsroot/ports/mail/maildrop/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile 18 Feb 2009 07:00:44 -0000 1.52
+++ Makefile 24 Feb 2009 03:06:51 -0000
@@ -45,6 +45,14 @@
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt)
.include "${.CURDIR}/../../security/courier-authlib/Makefile.opt"
.endif
+.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
+.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
+.endif
+BUILD_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
+RUN_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
+CONFIGURE_ARGS+= --enable-authlib
+.else
+CONFIGURE_ARGS+= --disable-authlib
.endif
.include <bsd.port.pre.mk>
@@ -80,17 +88,9 @@
@${REINPLACE_CMD} -e "s/l= 72 - szbuf.Length();/l= ${MAILDROP_LOG_COLUMNS} - szbuf.Length();/" \
${WRKSRC}/maildrop/log.C
.if defined(WITH_AUTHLIB)
-.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
-.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
-.endif
@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ \
-rpath=:${LOCALBASE}/lib/courier-authlib|' \
${WRKSRC}/maildrop/Makefile.in
-BUILD_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
-RUN_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
-CONFIGURE_ARGS+= --enable-authlib
-.else
-CONFIGURE_ARGS+= --disable-authlib
.endif
.if defined(NOPORTDOCS)
--- patch-maildrop ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list