Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 12:31:13 -0200 (BRST)
From:      Marcus Grando <marcus@corp.grupos.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        edwin@FreeBSD.org
Subject:   ports/75386: [MAINTAINER] Update port: mail/policyd add libgnugetopt dependency
Message-ID:  <20041222143113.E861620A6F@corp.grupos.com.br>
Resent-Message-ID: <200412221440.iBMEeQfb075082@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041222143113.E861620A6F>