aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gd1
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gd1')
-rw-r--r--graphics/gd1/files/patch-ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/gd1/files/patch-ac b/graphics/gd1/files/patch-ac
index 4dc61441a545..c54c2ab92621 100644
--- a/graphics/gd1/files/patch-ac
+++ b/graphics/gd1/files/patch-ac
@@ -40,7 +40,7 @@
-INCLUDEDIRS=-I. -I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include/X11
+INCLUDEDIRS=-I. -I${LOCALBASE}/include
+.if defined(WITH_X11)
-+INCLUDEDIRS+=-I{LOCALBASE}/include/freetype -I${X11BASE}/include/X11 -I${X11BASE}/include
++INCLUDEDIRS+=-I${LOCALBASE}/include/freetype -I${X11BASE}/include/X11 -I${X11BASE}/include
+.endif
@@ -50,12 +59,15 @@