summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-aw
blob: e9d4799fd125f6f7533f0b087a89517a834f3091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aw,v 1.4 2014/08/25 08:23:22 wiz Exp $

Use CPPFLAGS from environment.
Already included in current Advanced release.

--- lib/Makefile.orig	2006-10-03 20:55:25.000000000 +0200
+++ lib/Makefile	2006-10-03 20:55:56.000000000 +0200
@@ -81,7 +81,7 @@
 $(LIBOBJECTS): %.o: %.c importinc
 # Note that the user may have configured -I options into CFLAGS.
 	$(CC) -c $(INCLUDES) -DNDEBUG $(CFLAGS) $(CFLAGS_SHLIB) \
-	  $(CFLAGS_PERSONAL) $(CADD) -o $@ $<
+	  $(CFLAGS_PERSONAL) $(CPPFLAGS) $(CADD) -o $@ $<
 
 MAJ = $(NETPBM_MAJOR_RELEASE)
 MIN = $(NETPBM_MINOR_RELEASE)