Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2003 18:34:03 +0200 (EET)
From:      Vladimir Chukharev <chu@gpi.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48842: [Patch] python support
Message-ID:  <200303021634.h22GY3PN075357@svak.h33.erkki.ton.tut.fi>

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

>Number:         48842
>Category:       ports
>Synopsis:       [Patch] python support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 02 08:40:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Chukharev
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD svak.h33.erkki.ton.tut.fi 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #1: Sat Mar 1 16:03:06 EET 2003 root@svak.h33.erkki.ton.tut.fi:/usr/obj/usr/src/sys/SVAK i386

>Description:

Please add a possibility to install postresql with python support.

Best regards,
V. Chukharev

PS. Same or similar patch could also be applied to postgresql-devel. How about 
making their Makefiles a bit more uniform? Just a random thought...

PPS. Another random thought. Should postgresql-devel{1,2} continue to
exist?

>How-To-Repeat:
>Fix:

--- patch begins here ---
--- Makefile.orig	Sat Mar  1 14:53:35 2003
+++ Makefile	Sun Mar  2 18:17:58 2003
@@ -111,6 +111,10 @@
 DISTFILES+=	postgresql-test-${PORTVERSION}${EXTRACT_SUFX}
 .endif
 
+.if defined(WITH_PYTHON)
+CONFIGURE_ARGS+= --with-python
+.endif
+
 MAN1=		clusterdb.1 createdb.1 createlang.1 createuser.1 dropdb.1 \
 		droplang.1 dropuser.1 ecpg.1 initdb.1 initlocation.1 ipcclean.1 \
 		pg_config.1 pg_controldata.1 pg_ctl.1 pg_dump.1 pg_dumpall.1 \
@@ -157,6 +161,7 @@
 	@${ECHO} "	WITH_DEBUG		Builds with debugging symbols"
 	@${ECHO} "	WITH_TESTS		Allows the use of a \"check\" target"
 	@${ECHO} "				building the module"
+	@${ECHO} "	WITH_PYTHON		Builds with python support"
 	@${ECHO} ""
 .if defined(WITH_MIT_KRB5) && defined(WITH_HEIMDAL_KRB5)
 	@${ECHO} "WITH_MIT_KRB5 and WITH_HEIMDAL_KRB5 are mutually exclusive."
--- patch ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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