summaryrefslogtreecommitdiff
path: root/math/snns
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-07 07:13:59 +0000
committerjmc <jmc@pkgsrc.org>2002-03-07 07:13:59 +0000
commitbfd38826b41881664217208c304e305f648e1668 (patch)
tree6d26cee0eae99861e909f814108002e924c0215b /math/snns
parenteead42e0d616e79cbadfa34db6dd81460f1f8139 (diff)
downloadpkgsrc-bfd38826b41881664217208c304e305f648e1668.tar.gz
Touch files post configure to prevent a 2nd configure loop on build which will
end up dropping the original arguments like prefix
Diffstat (limited to 'math/snns')
-rw-r--r--math/snns/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/math/snns/Makefile b/math/snns/Makefile
index 2d6b0792d89..c93b8291b1d 100644
--- a/math/snns/Makefile
+++ b/math/snns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/12/19 20:16:06 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2002/03/07 07:13:59 jmc Exp $
DISTNAME= SNNSv4.2
PKGNAME= snns-4.2
@@ -17,6 +17,11 @@ CONFIGURE_ARGS= --enable-global --prefix=${LOCALBASE}
XGUILOADPATH= ${LOCALBASE}/share/snns
+#
+# Avoids a double configure loop that looses the install directory
+post-configure:
+ cd ${WRKSRC} && touch configuration/* configure Makefile.def config.h
+
post-install:
${INSTALL_DATA_DIR} ${XGUILOADPATH};
${INSTALL_DATA_DIR} ${LOCALBASE}/share/snns;