[38884] trunk/dports/lang/pure-devel

ryandesign at macports.org ryandesign at macports.org
Fri Aug 1 17:19:58 PDT 2008


Revision: 38884
          http://trac.macosforge.org/projects/macports/changeset/38884
Author:   ryandesign at macports.org
Date:     2008-08-01 17:19:58 -0700 (Fri, 01 Aug 2008)
Log Message:
-----------
pure-devel: fix the install name of the pure library so the pure program can find it

Modified Paths:
--------------
    trunk/dports/lang/pure-devel/Portfile

Added Paths:
-----------
    trunk/dports/lang/pure-devel/files/
    trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff

Modified: trunk/dports/lang/pure-devel/Portfile
===================================================================
--- trunk/dports/lang/pure-devel/Portfile	2008-08-01 23:53:41 UTC (rev 38883)
+++ trunk/dports/lang/pure-devel/Portfile	2008-08-02 00:19:58 UTC (rev 38884)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 
 name                    pure-devel
-version                 0.5.0.r441
+version                 0.5.0.r442
 categories              lang
 platforms               darwin
 maintainers             ryandesign
@@ -42,8 +42,12 @@
     port:llvm-devel \
     port:readline
 
+patchfiles \
+    patch-Makefile.in.diff
+
 test.run                yes
 test.target             check
+test.env                DYLD_LIBRARY_PATH=${worksrcpath}
 
 livecheck.version       [strsed ${version} {g/\.0\.r.*$//}]
 livecheck.check         regex

Added: trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/lang/pure-devel/files/patch-Makefile.in.diff	2008-08-02 00:19:58 UTC (rev 38884)
@@ -0,0 +1,11 @@
+--- Makefile.in	(revision 442)
++++ Makefile.in	(working copy)
+@@ -129,7 +129,7 @@
+ endif
+ 
+ $(libpure): $(OBJECT)
+-	$(CXX) $(shared) -o $@ $(LDFLAGS) $(OBJECT) $(LLVM_LIBS) $(LIBS)
++	$(CXX) $(shared) -install_name $(prefix)/lib/libpure-0.5.dylib -o $@ $(LDFLAGS) $(OBJECT) $(LLVM_LIBS) $(LIBS)
+ 	ln -sf $(libpure) $(libpurelnk)
+ 
+ pure.o: pure.cc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/aa105f5c/attachment.html 


More information about the macports-changes mailing list