1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/astro/saoimage/files/patch-ab
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

21 lines
558 B
Plaintext

--- btnlib/makefile.orig Wed Dec 6 14:51:17 1995
+++ btnlib/makefile Thu Sep 24 15:54:53 1998
@@ -8,7 +8,7 @@
# the library would build. It is preferable to build btnlib as part of the
# make procedure in the parent SAOimage directory.
-CFLAGS = -c -O
+CFLAGS += -c -I${LOCALBASE}/include
LINT = lint
RANLIB = ranlib
@@ -27,7 +27,7 @@
press.o remote.o resize.o util.o
LIB = libbtn.a
-XLIBH = /usr/include/X11/Xlib.h
+XLIBH = ${LOCALBASE}/include/X11/Xlib.h
#XLIBH = /usr/openwin/share/include/X11/Xlib.h #for OpenWindows
all: $(LIB)