summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)