summaryrefslogtreecommitdiff
path: root/databases/zpygresqlda
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-15 01:46:49 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-15 01:46:49 +0000
commitf209474b379b88d00e3326a50d9b52b39983f5e3 (patch)
tree8fd8147b5c2ab3c2f6a1f02b86e17789f91bf7b9 /databases/zpygresqlda
parentDon't have File::Spec as dep if perl > 5.6.0. (diff)
Make databases/zpygresqlda building again.
Noticed on: bento
Notes
Notes: svn path=/head/; revision=70133
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 70699d71c38e..11f74a7dc557 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 000000000000..ab22e0a47e12
--- /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)