[44271] trunk/dports/devel/cfitsio
ram at macports.org
ram at macports.org
Wed Dec 24 08:49:56 PST 2008
Revision: 44271
http://trac.macports.org/changeset/44271
Author: ram at macports.org
Date: 2008-12-24 08:49:55 -0800 (Wed, 24 Dec 2008)
Log Message:
-----------
devel/cfitsio: ensure CFLAGS are passed to shared library linking, fixes
universal variant
Modified Paths:
--------------
trunk/dports/devel/cfitsio/Portfile
Added Paths:
-----------
trunk/dports/devel/cfitsio/files/patch-Makefile.in.diff
Modified: trunk/dports/devel/cfitsio/Portfile
===================================================================
--- trunk/dports/devel/cfitsio/Portfile 2008-12-24 14:52:13 UTC (rev 44270)
+++ trunk/dports/devel/cfitsio/Portfile 2008-12-24 16:49:55 UTC (rev 44271)
@@ -4,7 +4,7 @@
name cfitsio
version 3.100
-revision 3
+revision 4
categories devel
platforms darwin
maintainers ram openmaintainer
@@ -30,7 +30,8 @@
rmd160 cd2d944ad73c74053ecd4c78b7efe5195cc8d43b
patchfiles patch-cfitsio.pc.in.diff \
- patch-configure.diff
+ patch-configure.diff \
+ patch-Makefile.in.diff
# turn off FORTRAN compiler wrappers by removing FORTRAN from the path
configure.fc ${prefix}/bin/no-possible-compiler
Added: trunk/dports/devel/cfitsio/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/devel/cfitsio/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/devel/cfitsio/files/patch-Makefile.in.diff 2008-12-24 16:49:55 UTC (rev 44271)
@@ -0,0 +1,11 @@
+--- Makefile.in 2008-12-24 16:43:55.000000000 +0000
++++ Makefile.in 2008-12-24 16:44:21.000000000 +0000
+@@ -88,7 +88,7 @@
+ shared: libcfitsio${SHLIB_SUFFIX}
+
+ libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
+- ${SHLIB_LD} -o $@ ${OBJECTS}
++ ${SHLIB_LD} ${CFLAGS} -o $@ ${OBJECTS}
+
+ install: libcfitsio.a $(INSTALL_DIRS)
+ @if [ -f libcfitsio.a ]; then \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081224/c1c1ef84/attachment.html>
More information about the macports-changes
mailing list