From f209474b379b88d00e3326a50d9b52b39983f5e3 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Fri, 15 Nov 2002 01:46:49 +0000 Subject: Make databases/zpygresqlda building again. Noticed on: bento --- databases/zpygresqlda/Makefile | 4 +--- databases/zpygresqlda/files/patch-src::Makefile.pre.in | 11 +++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 databases/zpygresqlda/files/patch-src::Makefile.pre.in (limited to 'databases/zpygresqlda') 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) -- cgit v1.2.3