summaryrefslogtreecommitdiffstats
path: root/databases/postgresql84-server
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2001-05-24 13:26:47 +0000
committeralex <alex@FreeBSD.org>2001-05-24 13:26:47 +0000
commit1f0d834af93939af99d532d72822391eaeacab91 (patch)
tree23c40d32058746662ccc4e0639ff9b23c44548fd /databases/postgresql84-server
parentd1d527cc40a6fa58449d5a3051e812f19ffbe806 (diff)
downloadFreeBSD-ports-1f0d834af93939af99d532d72822391eaeacab91.zip
FreeBSD-ports-1f0d834af93939af99d532d72822391eaeacab91.tar.gz
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/postgresql84-server')
-rw-r--r--databases/postgresql84-server/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index 0cc0107..4ba024e 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-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>
OpenPOWER on IntegriCloud