freebsd-ports/editors/nedit/files/patch-ac
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
748 B
Text

--- makefiles/Makefile.freebsd.orig Sun Sep 28 15:03:10 2003
+++ makefiles/Makefile.freebsd Sat Feb 7 15:00:18 2004
@@ -1,6 +1,6 @@
# $Id: Makefile.freebsd,v 1.5.2.1 2003/09/28 15:03:10 edg Exp $
-CC=cc
-AR=ar
+CC?=cc
+AR?=ar
# For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
#
@@ -10,8 +10,8 @@
# To test if the Motif library exports the runtime version
# add -DHAVE__XMVERSIONSTRING to CFLAGS
#
-CFLAGS=-O -I${PREFIX}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM
-LIBS= ${MOTIFLIB} -L${PREFIX}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
+CFLAGS+=-O -I${LOCALBASE}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM
+LIBS+= ${MOTIFLIB} -L${LOCALBASE}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
include Makefile.common