ports/104786: [MAINTAINER] security/libpreludedb: workaround bsd.python.mk

Robin Gruyters r.gruyters at yirdis.nl
Wed Oct 25 08:20:21 UTC 2006


>Number:         104786
>Category:       ports
>Synopsis:       [MAINTAINER] security/libpreludedb: workaround bsd.python.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 25 08:20:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Robin Gruyters
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
YIRDIS B.V.
>Environment:
System: FreeBSD server.yirdis.net 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #1: Tue Oct 24 10:44:15 CEST 2006
>Description:
Created a workaround for the bsd.port.pre.mk vs USE_PYTHON.
http://marc.theaimsgroup.com/?l=freebsd-ports&m=116176327704894&w=2

>How-To-Repeat:
>Fix:

--- libpreludedb-0.9.10_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/libpreludedb/Makefile /data2/FreeBSD/custom_ports/security/libpreludedb/Makefile
--- /usr/ports/security/libpreludedb/Makefile	Wed Oct 11 12:01:32 2006
+++ /data2/FreeBSD/custom_ports/security/libpreludedb/Makefile	Wed Oct 25 10:15:10 2006
@@ -5,6 +5,7 @@
 
 PORTNAME=	libpreludedb
 PORTVERSION=	0.9.10
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.prelude-ids.org/download/releases/ \
 		http://www.prelude-ids.org/download/releases/old/
@@ -29,6 +30,8 @@
 			PGSQL "Use PostgreSQL backend" off \
 			SQLITE "Use SQLite backend" off
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_PERL)
 USE_PERL5=		yes
 CONFIGURE_ARGS+=	--with-perl
@@ -39,7 +42,7 @@
 .endif
 
 .if defined(WITH_PYTHON)
-USE_PYTHON=		yes
+# Can't use USE_PYTHON after including bsd.port.pre.mk..
 .include "${PORTSDIR}/Mk/bsd.python.mk"
 CONFIGURE_ARGS+=	--with-python
 PLIST_SUB+=		WITH_PYTHON=""
@@ -87,4 +90,4 @@
 	${INSTALL_DATA} ${WRKSRC}/docs/api/html/* ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- libpreludedb-0.9.10_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list