[127645] trunk/dports/science/Gyoto
ryandesign at macports.org
ryandesign at macports.org
Fri Oct 31 03:16:39 PDT 2014
Revision: 127645
https://trac.macports.org/changeset/127645
Author: ryandesign at macports.org
Date: 2014-10-31 03:16:39 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
Gyoto: use patchfile instead of reinplace
Modified Paths:
--------------
trunk/dports/science/Gyoto/Portfile
Added Paths:
-----------
trunk/dports/science/Gyoto/files/
trunk/dports/science/Gyoto/files/patch-yorick-Makefile.in.diff
Modified: trunk/dports/science/Gyoto/Portfile
===================================================================
--- trunk/dports/science/Gyoto/Portfile 2014-10-31 10:11:28 UTC (rev 127644)
+++ trunk/dports/science/Gyoto/Portfile 2014-10-31 10:16:39 UTC (rev 127645)
@@ -32,12 +32,8 @@
# yorick is not universal
universal_variant no
-post-patch {
- reinplace "s|-L../lib |-L../lib/.libs |" \
- ${worksrcpath}/yorick/Makefile.in
-}
+patchfiles patch-yorick-Makefile.in.diff
-
configure.args --with-yorick=${prefix}/bin/yorick --without-lorene --with-xerces --disable-doc --with-cfitsio \
--with-udunits-inc=${prefix}/include/udunits2/ --with-udunits-lib=-L${prefix}/lib/
Added: trunk/dports/science/Gyoto/files/patch-yorick-Makefile.in.diff
===================================================================
--- trunk/dports/science/Gyoto/files/patch-yorick-Makefile.in.diff (rev 0)
+++ trunk/dports/science/Gyoto/files/patch-yorick-Makefile.in.diff 2014-10-31 10:16:39 UTC (rev 127645)
@@ -0,0 +1,11 @@
+--- yorick/Makefile.in.orig 2014-10-21 07:15:34.000000000 -0500
++++ yorick/Makefile.in 2014-10-31 05:15:45.000000000 -0500
+@@ -9,7 +9,7 @@
+ # ----------------------------------------------------- optimization flags
+
+ # options for make command line, e.g.- make COPT=-g TGT=exe
+-COPT=$(COPT_DEFAULT) -L../lib -I../include
++COPT=$(COPT_DEFAULT) -L../lib/.libs -I../include
+ TGT=$(DEFAULT_TGT)
+
+ # ------------------------------------------------ macros for this package
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141031/7bf13590/attachment.html>
More information about the macports-changes
mailing list