aboutsummaryrefslogtreecommitdiffstats
path: root/math/apc
diff options
context:
space:
mode:
authormikeh <mikeh@FreeBSD.org>2002-07-04 16:09:05 +0800
committermikeh <mikeh@FreeBSD.org>2002-07-04 16:09:05 +0800
commit1769999c1b9856a50c9c7ef15c809cd95839f0a6 (patch)
tree21f169218f64ee0c7190422ae8f5272676793ebe /math/apc
parent125fbd3d930383147612d03261f896c3f643880b (diff)
downloadfreebsd-ports-gnome-1769999c1b9856a50c9c7ef15c809cd95839f0a6.tar.gz
freebsd-ports-gnome-1769999c1b9856a50c9c7ef15c809cd95839f0a6.tar.zst
freebsd-ports-gnome-1769999c1b9856a50c9c7ef15c809cd95839f0a6.zip
Prepare for xforms update.
Diffstat (limited to 'math/apc')
-rw-r--r--math/apc/Makefile2
-rw-r--r--math/apc/files/patch-aa15
2 files changed, 11 insertions, 6 deletions
diff --git a/math/apc/Makefile b/math/apc/Makefile
index 7bc1ff049b6d..2b0a1fd2246d 100644
--- a/math/apc/Makefile
+++ b/math/apc/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= http://members.global2000.net/~eagriff/
MAINTAINER= eagriff@global2000.net
-LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms
+LIB_DEPENDS= forms.0:${PORTSDIR}/x11-toolkits/xforms
USE_X_PREFIX= yes
MAN1= apc.1
diff --git a/math/apc/files/patch-aa b/math/apc/files/patch-aa
index 7fe0dcbbfc50..9d55486bc273 100644
--- a/math/apc/files/patch-aa
+++ b/math/apc/files/patch-aa
@@ -1,11 +1,16 @@
---- Makefile.orig Fri Aug 31 23:39:56 2001
-+++ Makefile Fri Aug 31 23:40:02 2001
-@@ -2,7 +2,7 @@
+--- Makefile.orig Mon Oct 13 15:25:38 1997
++++ Makefile Tue Jul 2 01:04:00 2002
+@@ -1,8 +1,11 @@
+ # New Makefile for apc (13 October 1997)
#
- CFLAGS+=-DOS=\"$(OSTYPE)\" -I${X11BASE}/include
+-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
-LDADD+=-lxforms -lX11 -lm
-+LDADD+=-lxforms -lX11 -lm -lXpm
++LDADD+=-lforms -lX11 -lm -lXpm
BINDIR=${X11BASE}/bin
MANDIR=${X11BASE}/man/man
PROG= apc