[45048] trunk/dports/graphics/openjpeg/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Wed Jan 7 09:46:51 PST 2009
Revision: 45048
http://trac.macports.org/changeset/45048
Author: mcalhoun at macports.org
Date: 2009-01-07 09:46:51 -0800 (Wed, 07 Jan 2009)
Log Message:
-----------
openjpeg: Modify Makefile to actually build universal library in the universal variant.
Fixes #17904.
Modified Paths:
--------------
trunk/dports/graphics/openjpeg/Portfile
Modified: trunk/dports/graphics/openjpeg/Portfile
===================================================================
--- trunk/dports/graphics/openjpeg/Portfile 2009-01-07 14:52:46 UTC (rev 45047)
+++ trunk/dports/graphics/openjpeg/Portfile 2009-01-07 17:46:51 UTC (rev 45048)
@@ -5,7 +5,7 @@
name openjpeg
version 1.3
-revision 2
+revision 3
categories graphics
maintainers mcalhoun
description Library for manipulating JPEG-2000 images
@@ -59,5 +59,16 @@
destroot.args ${build.args}
+variant universal {
+ post-configure {
+ reinplace -E \
+ "s|^\(COMPILERFLAGS = .*\)$|\\1 ${configure.universal_cflags}|" \
+ ${worksrcpath}/Makefile.osx
+ reinplace -E \
+ "s|^\(LIBTOOLDYN = .*\)$|\\1 ${configure.universal_ldflags}|g" \
+ ${worksrcpath}/Makefile.osx
+ }
+}
+
livecheck.url http://www.openjpeg.org/index.php?menu=news
livecheck.regex "\[vV\]ersion (\\d+(\\.\\d+)+)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090107/62a815cd/attachment.html>
More information about the macports-changes
mailing list