aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql91-server
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-05-24 21:26:47 +0800
committeralex <alex@FreeBSD.org>2001-05-24 21:26:47 +0800
commit1f0d834af93939af99d532d72822391eaeacab91 (patch)
tree23c40d32058746662ccc4e0639ff9b23c44548fd /databases/postgresql91-server
parentd1d527cc40a6fa58449d5a3051e812f19ffbe806 (diff)
downloadfreebsd-ports-gnome-1f0d834af93939af99d532d72822391eaeacab91.tar.gz
freebsd-ports-gnome-1f0d834af93939af99d532d72822391eaeacab91.tar.zst
freebsd-ports-gnome-1f0d834af93939af99d532d72822391eaeacab91.zip
Change the way the configure script is executed and included in order
to make dependencies work. Call the script pre-fetch and include Makefile.inc AFTER it has been created. Reported by: Disturbed FreeBSD newbie who couldn't figure out why this didn't work as expected.
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r--databases/postgresql91-server/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index 0cc01070446c..4ba024eccafc 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -87,11 +87,7 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
NO_OPENSSL="${NO_OPENSSL}" \
DISTNAME="${DISTNAME}"
-.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
-.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
-.endif
-
-pre-extract:
+pre-fetch:
@ ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.postgresql
pre-install:
@@ -190,4 +186,8 @@ post-clean:
post-extract: ${POSTEXTRACT}
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.endif
+
.include <bsd.port.mk>