diff options
Diffstat (limited to 'math/apc/files/patch-aa')
-rw-r--r-- | math/apc/files/patch-aa | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/math/apc/files/patch-aa b/math/apc/files/patch-aa index 9d55486bc273..b5315b810a3d 100644 --- a/math/apc/files/patch-aa +++ b/math/apc/files/patch-aa @@ -1,16 +1,21 @@ ---- Makefile.orig Mon Oct 13 15:25:38 1997 -+++ Makefile Tue Jul 2 01:04:00 2002 -@@ -1,8 +1,11 @@ +--- ./Makefile.orig 1997-10-13 21:25:38.000000000 +0200 ++++ ./Makefile 2008-04-13 18:59:23.000000000 +0200 +@@ -1,10 +1,13 @@ # New Makefile for apc (13 October 1997) # -CFLAGS+=-DOS=\"$(OSTYPE)\" -I${X11BASE}/include -+.if exists(${X11BASE}/include/X11/forms.h) -+XFORMSINC=-I${X11BASE}/include/X11 -+.endif -+CFLAGS+=-DOS=\"$(OSTYPE)\" -I${X11BASE}/include ${XFORMSINC} - LDFLAGS+=-L${X11BASE}/lib +-LDFLAGS+=-L${X11BASE}/lib -LDADD+=-lxforms -lX11 -lm +-BINDIR=${X11BASE}/bin +-MANDIR=${X11BASE}/man/man ++.if exists(${LOCALBASE}/include/X11/forms.h) ++XFORMSINC=-I${LOCALBASE}/include/X11 ++.endif ++CFLAGS+=-DOS=\"$(OSTYPE)\" -I${LOCALBASE}/include ${XFORMSINC} ++LDFLAGS+=-L${LOCALBASE}/lib +LDADD+=-lforms -lX11 -lm -lXpm - BINDIR=${X11BASE}/bin - MANDIR=${X11BASE}/man/man ++BINDIR=${LOCALBASE}/bin ++MANDIR=${LOCALBASE}/man/man PROG= apc + SRCS= about.c apc.c calculate.c main.c mathfun.c setfns.c + |