[98676] trunk/dports/science/gadap

takeshi at macports.org takeshi at macports.org
Fri Oct 12 13:44:01 PDT 2012


Revision: 98676
          http://trac.macports.org//changeset/98676
Author:   takeshi at macports.org
Date:     2012-10-12 13:44:01 -0700 (Fri, 12 Oct 2012)
Log Message:
-----------
gadap: link against the built lib in test to avoid build error when old version is installed. added license

Modified Paths:
--------------
    trunk/dports/science/gadap/Portfile

Added Paths:
-----------
    trunk/dports/science/gadap/files/patch-test-Makefile.in.diff

Modified: trunk/dports/science/gadap/Portfile
===================================================================
--- trunk/dports/science/gadap/Portfile	2012-10-12 17:16:29 UTC (rev 98675)
+++ trunk/dports/science/gadap/Portfile	2012-10-12 20:44:01 UTC (rev 98676)
@@ -5,9 +5,10 @@
 
 name               gadap
 version            2.0
-revision           1
+revision           2
 platforms          darwin
 maintainers        takeshi
+license            GPL-2
 categories         science
 description        support library to enable OPeNDAP in GrADS2
 master_sites       ftp://grads.iges.org/grads/Supplibs/2.0/src/
@@ -19,7 +20,9 @@
 
 depends_build      port:libdap
 
-patchfiles         patch-gaBaseTypes.h.diff patch-gaUtils.h.diff
+patchfiles         patch-gaBaseTypes.h.diff \
+                   patch-gaUtils.h.diff \
+                   patch-test-Makefile.in.diff
 
 post-destroot      {
     file rename ${destroot}${prefix}/bin/test ${destroot}${prefix}/bin/gadap-test

Added: trunk/dports/science/gadap/files/patch-test-Makefile.in.diff
===================================================================
--- trunk/dports/science/gadap/files/patch-test-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/science/gadap/files/patch-test-Makefile.in.diff	2012-10-12 20:44:01 UTC (rev 98676)
@@ -0,0 +1,11 @@
+--- test/Makefile.in.orig	2008-07-30 21:19:59.000000000 +0900
++++ test/Makefile.in	2012-10-13 05:32:45.000000000 +0900
+@@ -151,7 +151,7 @@
+ target_alias = @target_alias@
+ test_SOURCES = test.cc
+ test_CPPFLAGS = -g3 -O0 -I$(srcdir) -I$(top_srcdir)/src
+-test_LDADD = -L$(top_srcdir)/src/ -lgadap
++test_LDADD = $(top_srcdir)/src/libgadap.a
+ all: all-am
+ 
+ .SUFFIXES:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121012/aed51d8c/attachment.html>


More information about the macports-changes mailing list