diff options
-rw-r--r-- | graphics/gd/files/patch-ac | 2 | ||||
-rw-r--r-- | graphics/gd1/files/patch-ac | 2 | ||||
-rw-r--r-- | graphics/gd2/files/patch-ac | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/graphics/gd/files/patch-ac b/graphics/gd/files/patch-ac index 4dc61441a545..c54c2ab92621 100644 --- a/graphics/gd/files/patch-ac +++ b/graphics/gd/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 @@ 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 @@ diff --git a/graphics/gd2/files/patch-ac b/graphics/gd2/files/patch-ac index 4dc61441a545..c54c2ab92621 100644 --- a/graphics/gd2/files/patch-ac +++ b/graphics/gd2/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 @@ |