Revision: 87643 http://trac.macports.org/changeset/87643 Author: ryandesign@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
participants (1)
-
ryandesign@macports.org