[111766] trunk/dports/math/parmetis

ryandesign at macports.org ryandesign at macports.org
Tue Oct 1 03:24:01 PDT 2013


Revision: 111766
          https://trac.macports.org/changeset/111766
Author:   ryandesign at 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:
--------------
    trunk/dports/math/parmetis/Portfile
    trunk/dports/math/parmetis/files/patch-Makefile.diff

Modified: trunk/dports/math/parmetis/Portfile
===================================================================
--- 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
===================================================================
--- 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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131001/c6fbe60b/attachment.html>


More information about the macports-changes mailing list