[97609] trunk/dports/aqua

ryandesign at macports.org ryandesign at macports.org
Sun Sep 9 14:59:38 PDT 2012


Revision: 97609
          https://trac.macports.org/changeset/97609
Author:   ryandesign at macports.org
Date:     2012-09-09 14:59:38 -0700 (Sun, 09 Sep 2012)
Log Message:
-----------
fltk, fltk-devel: fix 'ld: library not found for -lpng' build failure with old clang which doesn't support LIBRARY_PATH (Xcode 4.3 and older)

Modified Paths:
--------------
    trunk/dports/aqua/fltk/Portfile
    trunk/dports/aqua/fltk-devel/Portfile

Added Paths:
-----------
    trunk/dports/aqua/fltk/files/patch-src-Makefile.diff
    trunk/dports/aqua/fltk-devel/files/patch-src-Makefile.diff

Modified: trunk/dports/aqua/fltk/Portfile
===================================================================
--- trunk/dports/aqua/fltk/Portfile	2012-09-09 21:56:35 UTC (rev 97608)
+++ trunk/dports/aqua/fltk/Portfile	2012-09-09 21:59:38 UTC (rev 97609)
@@ -41,6 +41,7 @@
 
 patchfiles      patch-FL-mac.H.diff \
                 patch-fluid-Makefile.diff \
+                patch-src-Makefile.diff \
                 patch-src-filename_list.cxx.diff
 
 post-patch {

Added: trunk/dports/aqua/fltk/files/patch-src-Makefile.diff
===================================================================
--- trunk/dports/aqua/fltk/files/patch-src-Makefile.diff	                        (rev 0)
+++ trunk/dports/aqua/fltk/files/patch-src-Makefile.diff	2012-09-09 21:59:38 UTC (rev 97609)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig	2011-07-18 23:49:30.000000000 -0500
++++ src/Makefile	2012-09-09 11:35:36.000000000 -0500
+@@ -355,7 +355,7 @@
+ 		-install_name $(libdir)/$@ \
+ 		-current_version 1.3.0 \
+ 		-compatibility_version 1.3.0 \
+-		$(IMGOBJECTS)  -L. $(LDLIBS) $(IMAGELIBS) -lfltk
++		$(IMGOBJECTS)  -L. $(LDLIBS) $(IMAGELIBS) -lfltk $(LDFLAGS)
+ 	$(RM) libfltk_images.dylib
+ 	$(LN) libfltk_images.1.3.dylib libfltk_images.dylib
+ 

Modified: trunk/dports/aqua/fltk-devel/Portfile
===================================================================
--- trunk/dports/aqua/fltk-devel/Portfile	2012-09-09 21:56:35 UTC (rev 97608)
+++ trunk/dports/aqua/fltk-devel/Portfile	2012-09-09 21:59:38 UTC (rev 97609)
@@ -39,7 +39,8 @@
 
 use_parallel_build  yes
 
-patchfiles      patch-fluid-Makefile.diff
+patchfiles      patch-fluid-Makefile.diff \
+                patch-src-Makefile.diff
 
 post-patch {
     reinplace "s|/Applications|${applications_dir}/fltk|g" \

Added: trunk/dports/aqua/fltk-devel/files/patch-src-Makefile.diff
===================================================================
--- trunk/dports/aqua/fltk-devel/files/patch-src-Makefile.diff	                        (rev 0)
+++ trunk/dports/aqua/fltk-devel/files/patch-src-Makefile.diff	2012-09-09 21:59:38 UTC (rev 97609)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig	2011-07-18 23:49:30.000000000 -0500
++++ src/Makefile	2012-09-09 11:35:36.000000000 -0500
+@@ -355,7 +355,7 @@
+ 		-install_name $(libdir)/$@ \
+ 		-current_version 1.3.0 \
+ 		-compatibility_version 1.3.0 \
+-		$(IMGOBJECTS)  -L. $(LDLIBS) $(IMAGELIBS) -lfltk
++		$(IMGOBJECTS)  -L. $(LDLIBS) $(IMAGELIBS) -lfltk $(LDFLAGS)
+ 	$(RM) libfltk_images.dylib
+ 	$(LN) libfltk_images.1.3.dylib libfltk_images.dylib
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120909/516e246b/attachment.html>


More information about the macports-changes mailing list