[77990] trunk/dports/graphics/openjpeg

mcalhoun at macports.org mcalhoun at macports.org
Mon Apr 18 20:07:32 PDT 2011


Revision: 77990
          http://trac.macports.org/changeset/77990
Author:   mcalhoun at macports.org
Date:     2011-04-18 20:07:31 -0700 (Mon, 18 Apr 2011)
Log Message:
-----------
openjpeg: Fix inability to copy .dSYM directory with library; Fixes #29193.
No revision increases needed since the library builds correctly or not at all.

Modified Paths:
--------------
    trunk/dports/graphics/openjpeg/Portfile

Added Paths:
-----------
    trunk/dports/graphics/openjpeg/files/
    trunk/dports/graphics/openjpeg/files/patch-libopenjpeg-Makefile.in.diff

Modified: trunk/dports/graphics/openjpeg/Portfile
===================================================================
--- trunk/dports/graphics/openjpeg/Portfile	2011-04-19 02:50:47 UTC (rev 77989)
+++ trunk/dports/graphics/openjpeg/Portfile	2011-04-19 03:07:31 UTC (rev 77990)
@@ -54,5 +54,10 @@
         ${worksrcpath}/Makefile.in
 }
 
+if {${os.platform} == "darwin" && ${os.major} < 10} {
+    # See #29193
+    patchfiles-append patch-libopenjpeg-Makefile.in.diff 
+}
+
 livecheck.url    http://www.openjpeg.org/index.php?menu=news
 livecheck.regex  "\[vV\]ersion (\\d+(\\.\\d+)+)"

Added: trunk/dports/graphics/openjpeg/files/patch-libopenjpeg-Makefile.in.diff
===================================================================
--- trunk/dports/graphics/openjpeg/files/patch-libopenjpeg-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/graphics/openjpeg/files/patch-libopenjpeg-Makefile.in.diff	2011-04-19 03:07:31 UTC (rev 77990)
@@ -0,0 +1,16 @@
+--- libopenjpeg/Makefile.in.orig	2011-04-18 12:41:35.000000000 -0700
++++ libopenjpeg/Makefile.in	2011-04-18 12:42:08.000000000 -0700
+@@ -616,11 +616,11 @@
+ 
+ all-local:
+ 	@$(INSTALL) -d ../bin
+-	@cp -P .libs/libopenjpeg.* ../bin/
++	@cp -PR .libs/libopenjpeg.* ../bin/
+ 	@rm -f ../bin/libopenjpeg.la*
+ 	@rm -rf .report_lib
+ 	@$(INSTALL) -d .report_lib
+-	@cp -P .libs/libopenjpeg.* .report_lib
++	@cp -PR .libs/libopenjpeg.* .report_lib
+ 	@rm -f .report_lib/libopenjpeg.lai
+ 	@echo "" > .report.txt
+ 	@echo "Installing: ${prefix}/include/${headerdir}/" >> .report.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110418/3f54737b/attachment.html>


More information about the macports-changes mailing list