Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2006 10:17:31 +0200 (CEST)
From:      Robin Gruyters <r.gruyters@yirdis.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/104786: [MAINTAINER] security/libpreludedb: workaround bsd.python.mk
Message-ID:  <200610250817.k9P8HVtD034830@server.yirdis.net>
Resent-Message-ID: <200610250820.k9P8KHcH003919@freefall.freebsd.org>

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

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



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