From 42d23cf094d1083c51b8a026e6b65739a89cc735 Mon Sep 17 00:00:00 2001 From: wennmach Date: Tue, 10 Apr 2001 19:31:27 +0000 Subject: 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). --- parallel/mpi-ch/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'parallel') 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 -- cgit v1.2.3