Modified: trunk/dports/graphics/feh/Portfile (87642 => 87643)
--- 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 (0 => 87643)
--- 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