diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 23:33:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 23:33:47 +0000 |
commit | a14c0668720dcafde3f60b7659a01d99ec693a41 (patch) | |
tree | 9c1a149bc961f7cd84b7aa93a2d61fec3d0f9685 /math/apc/files/patch-Makefile | |
parent | Rename mail/ patch-xy patches to reflect the files they modify. (diff) |
Rename math/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363276
Diffstat (limited to 'math/apc/files/patch-Makefile')
-rw-r--r-- | math/apc/files/patch-Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/math/apc/files/patch-Makefile b/math/apc/files/patch-Makefile new file mode 100644 index 000000000000..b5315b810a3d --- /dev/null +++ b/math/apc/files/patch-Makefile @@ -0,0 +1,21 @@ +--- ./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 +-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=${LOCALBASE}/bin ++MANDIR=${LOCALBASE}/man/man + PROG= apc + SRCS= about.c apc.c calculate.c main.c mathfun.c setfns.c + |