packages/net/apcupsd/patches/010-fix-include-paths.patch
Othmar Truniger a460965a67 apcupsd: move from old packages and Makefile updated
Signed-off-by: Othmar Truniger <Othmar Truniger github@truniger.ch>
2015-02-17 23:14:27 +01:00

13 lines
501 B
Diff

diff --git a/autoconf/variables.mak.in b/autoconf/variables.mak.in
index b67e467..6022434 100644
--- a/autoconf/variables.mak.in
+++ b/autoconf/variables.mak.in
@@ -65,7 +65,7 @@ DRVLIBS = @PTHREAD_LFLAGS@ @DRVLIBS@
X_LIBS = @X_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
-CPPFLAGS = @CPPFLAGS@ -I$(topdir)/include $(EXTRAINCS)
+CPPFLAGS = -I$(topdir)/include @CPPFLAGS@ $(EXTRAINCS)
CFLAGS = $(CPPFLAGS) @CFLAGS@ @PTHREAD_CFLAGS@
CXXFLAGS = $(CPPFLAGS) @CXXFLAGS@ @PTHREAD_CFLAGS@
LDFLAGS = @LDFLAGS@