freebsd-ports/biology/kinemage/files/patch-Makefile
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

22 lines
884 B
Text

--- Makefile.orig Mon Dec 4 20:47:11 2000
+++ Makefile Mon Dec 4 20:50:43 2000
@@ -4,7 +4,7 @@
# rpm -i ...rpm (to install each in turn, where ...rpm is downloaded file
# for Linux, try:
# CFLAGS = -I/usr/X11R6/LessTif/Motif2.0/include
-CFLAGS = -g -I/usr/X11R6/LessTif/Motif2.0/include
+CFLAGS += -I$(LOCALBASE)/include
# for SGI use:
# CFLAGS = -I/usr/include/X11
# CFLAGS = -g -I/usr/include/X11
@@ -30,7 +30,9 @@
# for linux with Motif installed, try:
# LIBS = -L/usr/X11/lib -lXm -lXt -lX11
# for Linux, try:
-LIBS = -L/usr/X11R6/LessTif/Motif2.0/lib -L/usr/X11R6/lib -lXm -lXt -lX11
+# LIBS = -L/usr/X11R6/LessTif/Motif2.0/lib -L/usr/X11R6/lib -lXm -lXt -lX11
+# For FreeBSD:
+LIBS = -L$(LOCALBASE)/lib -lXm -lXt -lX11
# ------------------------------------------------------------------------