[87643] trunk/dports/graphics/feh
ryandesign at macports.org
ryandesign at macports.org
Tue Nov 29 16:53:47 PST 2011
Revision: 87643
http://trac.macports.org/changeset/87643
Author: ryandesign at macports.org
Date: 2011-11-29 16:53:43 -0800 (Tue, 29 Nov 2011)
Log Message:
-----------
feh: fix build error with clang; see #32303
Modified Paths:
--------------
trunk/dports/graphics/feh/Portfile
Added Paths:
-----------
trunk/dports/graphics/feh/files/
trunk/dports/graphics/feh/files/patch-src-Makefile.diff
Modified: trunk/dports/graphics/feh/Portfile
===================================================================
--- trunk/dports/graphics/feh/Portfile 2011-11-30 00:35:25 UTC (rev 87642)
+++ trunk/dports/graphics/feh/Portfile 2011-11-30 00:53:43 UTC (rev 87643)
@@ -30,6 +30,8 @@
port:curl \
port:xorg-libXinerama
+patchfiles patch-src-Makefile.diff
+
use_configure no
variant universal {}
@@ -38,6 +40,7 @@
build.env CC="${configure.cc}" \
CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+ CPPFLAGS="${configure.cppflags}" \
LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
destroot.args PREFIX=${prefix}
Added: trunk/dports/graphics/feh/files/patch-src-Makefile.diff
===================================================================
--- trunk/dports/graphics/feh/files/patch-src-Makefile.diff (rev 0)
+++ trunk/dports/graphics/feh/files/patch-src-Makefile.diff 2011-11-30 00:53:43 UTC (rev 87643)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig 2011-11-02 04:59:20.000000000 -0500
++++ src/Makefile 2011-11-29 18:49:46.000000000 -0600
+@@ -19,7 +19,7 @@
+
+
+ deps.mk: ${TARGETS} ${I_DSTS}
+- ${CC} -MM ${TARGETS} > $@
++ ${CC} ${CPPFLAGS} -MM ${TARGETS} > $@
+
+ clean:
+ rm -f feh *.o *.inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111129/18a873ba/attachment.html>
More information about the macports-changes
mailing list