summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2001-04-10 19:31:27 +0000
committerwennmach <wennmach@pkgsrc.org>2001-04-10 19:31:27 +0000
commit8ade44d33dd3368c31161048ec4ab9f2727b9d86 (patch)
tree8e6ed146965e7db4c00b7d1f0c4f2de0c665c530
parenta0f2e918ed7e1911e09c7c32e300bac96cba5ad5 (diff)
downloadpkgsrc-8ade44d33dd3368c31161048ec4ab9f2727b9d86.tar.gz
Move cpp-like Makefile (.if exists()) statement after the inclusion of
bsd.pkg.mk. Thanks to Alistair Crooks for this fix (and for enlightening me).
-rw-r--r--parallel/mpi-ch/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile
index 2444986baa5..e5c86dea5bc 100644
--- a/parallel/mpi-ch/Makefile
+++ b/parallel/mpi-ch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/04/09 12:00:49 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2001/04/10 19:31:27 wennmach Exp $
DISTNAME= mpich-1.2.1
CATEGORIES= parallel
@@ -26,9 +26,6 @@ CONFIGURE_ARGS+= --disable-f90 --disable-f90modules
.include "../../mk/bsd.prefs.mk"
-.if exists(${WRKDIR}/with-java)
-PLIST_SRC+= ${PKGDIR}/PLIST.java
-.endif
PLIST_SRC+= ${PKGDIR}/PLIST
post-build:
@@ -51,3 +48,7 @@ post-install:
@${CHMOD} 755 ${PREFIX}/sbin/mpiuninstall
.include "../../mk/bsd.pkg.mk"
+
+.if exists(${WRKDIR}/with-java)
+PLIST_SRC+= ${PKGDIR}/PLIST.java
+.endif