ports/75386: [MAINTAINER] Update port: mail/policyd add libgnugetopt dependency
Marcus Grando
marcus at corp.grupos.com.br
Wed Dec 22 14:40:27 UTC 2004
>Number: 75386
>Category: ports
>Synopsis: [MAINTAINER] Update port: mail/policyd add libgnugetopt dependency
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 22 14:40:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Marcus Grando
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #34: Sun Dec 19 18:25:44 BRST 2004 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
Update port: mail/policyd
* Add devel/libgnugetopt dependency if OSVERSION < 500041
* If this change not need update PORTREVISION, please removeit.
>How-To-Repeat:
>Fix:
--- policyd.patch begins here ---
diff -ruN policyd.old/Makefile policyd/Makefile
--- policyd.old/Makefile Wed Dec 22 01:43:31 2004
+++ policyd/Makefile Wed Dec 22 12:20:11 2004
@@ -7,6 +7,7 @@
PORTNAME= policyd
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.libspf2.org/patch/
@@ -20,6 +21,12 @@
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
GNU_CONFIGURE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500041
+LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+.endif
+
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
@@ -30,4 +37,4 @@
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- policyd.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list