pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/32299: python support in INN
>Number: 32299
>Category: pkg
>Synopsis: python support in INN not avaible as an option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Dec 14 09:40:00 +0000 2005
>Originator: Anders Mundt Due
>Release: NetBSD 3.99.7
>Organization:
I'm just me ..
>Environment:
System: NetBSD harald.dhcp.rnd.uni-c.dk 3.99.7 NetBSD 3.99.7 (GENERIC.MPACPI)
#1: Wed Jun 29 12:23:00 CEST 2005
amd%dellicious.pd-house.dk@localhost:/usr/tmp/dellicious.i386.3.99.7/obj/sys/arch/i386/compile/GENERIC.MPACPI
i386
Architecture: i386
Machine: i386
>Description:
INN is able to support python for filters, it's just not enabled
>How-To-Repeat:
Compile INN and try to use python as a filter .. you can't ;-)
>Fix:
cvs diff -r1.75 Makefile
Index: Makefile
===================================================================
RCS file: /usr/NetBSD/pkgsrc/news/inn/Makefile,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- Makefile 5 Dec 2005 23:55:15 -0000 1.75
+++ Makefile 14 Dec 2005 09:22:35 -0000 1.76
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2005/12/05 23:55:15 rillig Exp $
+# $NetBSD: Makefile,v 1.76 2005/12/14 09:22:35 amd Exp $
DISTNAME= inn-2.4.1
PKGREVISION= 8
@@ -90,6 +90,8 @@
GCC_REQD+= 2.95.3
.endif
+.include "options.mk"
+
post-patch:
${RM} -f ${WRKSRC}/samples/inn.conf.in.orig_dist
--- options.mk 2005-08-15 22:00:00.000000000 +0200
+++ options.mk 2005-08-15 22:49:09.000000000 +0200
@@ -0,0 +1,14 @@
+PKG_OPTIONS_VAR= PKG_OPTIONS.inn
+PKG_SUPPORTED_OPTIONS= python
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Python support for INN
+###
+.if !empty(PKG_OPTIONS:Mpython)
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= _PATH_PYTHON=${PYTHONBIN}
+.include "../../lang/python/application.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index