Revision
111766
Author
ryandesign@macports.org
Date
2013-10-01 03:24:01 -0700 (Tue, 01 Oct 2013)

Log Message

parmetis: fix Makefile bug causing "No rule to make target `w'." when using "make -w"

Modified Paths

Diff

Modified: trunk/dports/math/parmetis/Portfile (111765 => 111766)


--- trunk/dports/math/parmetis/Portfile	2013-10-01 10:15:19 UTC (rev 111765)
+++ trunk/dports/math/parmetis/Portfile	2013-10-01 10:24:01 UTC (rev 111766)
@@ -37,10 +37,6 @@
                     cxx=${configure.cxx} \
                     shared=1
 
-# No rule to make target `w'.  Stop.
-build.pre_args-delete -w
-destroot.pre_args-delete -w
-
 livecheck.type      regex
 livecheck.url       http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download
 livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}

Modified: trunk/dports/math/parmetis/files/patch-Makefile.diff (111765 => 111766)


--- trunk/dports/math/parmetis/files/patch-Makefile.diff	2013-10-01 10:15:19 UTC (rev 111765)
+++ trunk/dports/math/parmetis/files/patch-Makefile.diff	2013-10-01 10:24:01 UTC (rev 111766)
@@ -1,5 +1,5 @@
 --- Makefile.orig	2013-03-30 11:24:50.000000000 -0500
-+++ Makefile	2013-10-01 05:08:08.000000000 -0500
++++ Makefile	2013-10-01 05:22:49.000000000 -0500
 @@ -22,7 +22,7 @@
  BUILDDIR = build/$(systype)-$(cputype)
  
@@ -9,3 +9,12 @@
  ifeq ($(gklib_path), not-set)
      gklib_path = metis/GKlib
  endif
+@@ -67,7 +67,7 @@
+ 	@if [ ! -f $(BUILDDIR)/Makefile ]; then \
+ 		more BUILD.txt; \
+ 	else \
+-	  	make -C $(BUILDDIR) $@ $(MAKEFLAGS); \
++	  	$(MAKE) -C $(BUILDDIR) $@; \
+ 	fi
+ 
+ uninstall: