summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-25 16:01:00 +0000
committerjlam <jlam>2006-07-25 16:01:00 +0000
commit1d1797688af90d581f7bc2ce23eb5487f8bf20d8 (patch)
treeeddd3eff87e83dfce8297980b269b5c6eab874e1 /x11
parent1711953ffef283dc02517b619273464f21086c5f (diff)
downloadpkgsrc-1d1797688af90d581f7bc2ce23eb5487f8bf20d8.tar.gz
Don't run anything that might invoke the toolchain until the configure
step.
Diffstat (limited to 'x11')
-rw-r--r--x11/p5-gtk/Makefile.subpackage6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/p5-gtk/Makefile.subpackage b/x11/p5-gtk/Makefile.subpackage
index 3f1eb01b87f..32c7fa5bd2a 100644
--- a/x11/p5-gtk/Makefile.subpackage
+++ b/x11/p5-gtk/Makefile.subpackage
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.subpackage,v 1.10 2006/04/10 05:31:01 jlam Exp $
+# $NetBSD: Makefile.subpackage,v 1.11 2006/07/25 16:01:00 jlam Exp $
#
# makefile fragment for p5-gtk sub-packages. you need to
# set SUBPACKAGE before including this.
@@ -18,7 +18,9 @@ SUBST_STAGE.3pm= pre-configure
SUBST_FILES.3pm= Makefile.PL
SUBST_SED.3pm= -e "s,\.3pm,\.3,g"
-post-patch:
+.PHONY: gtk-configure
+pre-configure: gtk-configure
+gtk-configure:
cd ${GTKDIR} && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
cd ${GTKDIR} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} -f ${MAKEFILE} ${BUILD_TARGET}