mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
17 lines
489 B
Plaintext
17 lines
489 B
Plaintext
--- 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
|
|
+.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+=-lforms -lX11 -lm -lXpm
|
|
BINDIR=${X11BASE}/bin
|
|
MANDIR=${X11BASE}/man/man
|
|
PROG= apc
|