freebsd-ports/sysutils/asapm/files/patch-Makefile.UNIX
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
645 B
Text

--- Makefile.UNIX.orig Thu Nov 30 18:55:09 2006
+++ Makefile.UNIX Thu Nov 30 18:55:42 2006
@@ -1,14 +1,14 @@
#-----------------------------------------------------
# The locations where this program should be installed
-INSTALL_DIR=/usr/local/bin
-MAN_DIR=/usr/local/man/man1
+INSTALL_DIR=${LOCALBASE}/bin
+MAN_DIR=${LOCALBASE}/man/man1
# The location and names of the X11 libraries
-LDIR = -L/usr/X11R6/lib
+LDIR = -L${LOCALBASE}/lib
LIBS = -lXpm -lX11
# The include path to the X11 files
-C_INCLUDE = -I. -I/usr/X11R6/include
+C_INCLUDE = -I. -I${LOCALBASE}/include
#-----------------------------------------------------
CC = gcc