src/Makefile: respect CPPFLAGS

(upstream git commit 2424b51f3df9e570612f0098600d9877b5c0160b)
This commit is contained in:
dcoppa 2011-11-30 14:15:39 +00:00
parent 8161c89872
commit 13ef888ad6
2 changed files with 18 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.32 2011/11/07 21:47:28 dcoppa Exp $
# $OpenBSD: Makefile,v 1.33 2011/11/30 14:15:39 dcoppa Exp $
COMMENT= lightweight image viewer
DISTNAME= feh-2.1
REVISION= 0
EXTRACT_SUFX= .tar.bz2
CATEGORIES= graphics

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_Makefile,v 1.1 2011/11/30 14:15:39 dcoppa Exp $
src/Makefile: respect CPPFLAGS
(upstream git commit 2424b51f3df9e570612f0098600d9877b5c0160b)
--- src/Makefile.orig Wed Nov 30 15:08:18 2011
+++ src/Makefile Wed Nov 30 15:08:41 2011
@@ -19,7 +19,7 @@ help.inc: help.raw
deps.mk: ${TARGETS} ${I_DSTS}
- ${CC} -MM ${TARGETS} > $@
+ ${CC} ${CPPFLAGS} -MM ${TARGETS} > $@
clean:
rm -f feh *.o *.inc