freebsd-ports/editors/nedit/files/patch-ac
Daniel Eischen 516e68ade2 Update Nedit to 5.4. Note that our open-motif port is at 2.2.2 which
is known to be buggy.  It was pulled from the opengroup site.  Nedit
now checks the version of motif and issues a very loud warning
when it is built.
2004-02-07 23:38:15 +00:00

22 lines
744 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${X11BASE}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM
+LIBS+= ${MOTIFLIB} -L${X11BASE}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11
include Makefile.common