summaryrefslogtreecommitdiff
path: root/math/xldlas/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'math/xldlas/files/patch-aa')
-rw-r--r--math/xldlas/files/patch-aa10
1 files changed, 5 insertions, 5 deletions
diff --git a/math/xldlas/files/patch-aa b/math/xldlas/files/patch-aa
index a8cc4e74a7cf..6dacb936d663 100644
--- a/math/xldlas/files/patch-aa
+++ b/math/xldlas/files/patch-aa
@@ -9,14 +9,14 @@
-COMMONLIBS = -L/usr/X11R6/lib/ -lX11 -lm
-SHAREDLIBS = -lforms
-STATICLIBS = -lXpm /usr/X11R6/lib/libforms.a
-+.if exists(${X11BASE}/include/X11/forms.h)
-+XFORMSINC = -I${X11BASE}/include/X11
++.if exists(${LOCALBASE}/include/X11/forms.h)
++XFORMSINC = -I${LOCALBASE}/include/X11
+.endif
-+CCFLAG = $(CFLAGS) -DXFORMS86 -DPREFIX=\"$(PREFIX)\" -I$(X11BASE)/include ${XFORMSINC}
++CCFLAG = $(CFLAGS) -DXFORMS86 -DPREFIX=\"$(PREFIX)\" -I$(LOCALBASE)/include ${XFORMSINC}
+#CC = gcc
-+COMMONLIBS = -L$(X11BASE)/lib/ -lX11 -lm
++COMMONLIBS = -L$(LOCALBASE)/lib/ -lX11 -lm
+SHAREDLIBS = -lforms -lXpm
-+STATICLIBS = $(X11BASE)/lib/libxforms.a -lXpm
++STATICLIBS = $(LOCALBASE)/lib/libxforms.a -lXpm
ECHO = echo
RM = rm
RMOPTS = -f