summaryrefslogtreecommitdiff
path: root/databases/postgresql-devel
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2001-05-24 13:26:47 +0000
committerAlexander Langer <alex@FreeBSD.org>2001-05-24 13:26:47 +0000
commit1f4300a57a3aad8b35aa6dabe2ff30f486b99c71 (patch)
treeada8abd4db7a99c8c0d0d8aa3c87917342b327ae /databases/postgresql-devel
parentadd py-irclib (diff)
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.
Notes
Notes: svn path=/head/; revision=43014
Diffstat (limited to 'databases/postgresql-devel')
-rw-r--r--databases/postgresql-devel/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile
index 0cc01070446c..4ba024eccafc 100644
--- a/databases/postgresql-devel/Makefile
+++ b/databases/postgresql-devel/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>