summaryrefslogtreecommitdiffstats
path: root/databases/zpygresqlda
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-15 01:46:49 +0000
committeredwin <edwin@FreeBSD.org>2002-11-15 01:46:49 +0000
commit1f9f3df054fd524b2b20e266d1d5326d5ca3bef5 (patch)
tree7ae9e4e4010afc0a115ac5f3d86b6868ab5f8f15 /databases/zpygresqlda
parentdab1e1cb7ae41cd0f7503009123487546586a651 (diff)
downloadFreeBSD-ports-1f9f3df054fd524b2b20e266d1d5326d5ca3bef5.zip
FreeBSD-ports-1f9f3df054fd524b2b20e266d1d5326d5ca3bef5.tar.gz
Make databases/zpygresqlda building again.
Noticed on: bento
Diffstat (limited to 'databases/zpygresqlda')
-rw-r--r--databases/zpygresqlda/Makefile4
-rw-r--r--databases/zpygresqlda/files/patch-src::Makefile.pre.in11
2 files changed, 12 insertions, 3 deletions
diff --git a/databases/zpygresqlda/Makefile b/databases/zpygresqlda/Makefile
index 70699d7..11f74a7 100644
--- a/databases/zpygresqlda/Makefile
+++ b/databases/zpygresqlda/Makefile
@@ -14,8 +14,6 @@ DISTNAME= ZPyGreSQLDA-0.3-rjr2
MAINTAINER= nbm@FreeBSD.org
-BROKEN= "Cannot find python"
-
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
@@ -37,7 +35,7 @@ do-build:
@${ECHO_CMD} '*shared*' > ${WRKSRC}/src/Setup
@${ECHO_CMD} '' >> ${WRKSRC}/src/Setup
@${ECHO_CMD} '_pg pgmodule.c ' \
- '-I${LOCALBASE}/include/pgsql ' \
+ '-I${LOCALBASE}/include ' \
'-L${LOCALBASE}/lib ' \
'-lpq -lcrypt' >> ${WRKSRC}/src/Setup
@(cd ${WRKSRC}/src && \
diff --git a/databases/zpygresqlda/files/patch-src::Makefile.pre.in b/databases/zpygresqlda/files/patch-src::Makefile.pre.in
new file mode 100644
index 0000000..ab22e0a
--- /dev/null
+++ b/databases/zpygresqlda/files/patch-src::Makefile.pre.in
@@ -0,0 +1,11 @@
+--- src/Makefile.pre.in.orig Fri Nov 15 12:14:34 2002
++++ src/Makefile.pre.in Fri Nov 15 12:14:58 2002
+@@ -92,7 +92,7 @@
+ TARGET= python
+
+ # Installed python binary (used only by boot target)
+-PYTHON= python
++PYTHON= python1.5
+
+ # Add more -I and -D options here
+ CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS)
OpenPOWER on IntegriCloud