--- 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 -DBUILD_UNTESTED_NEDIT +LIBS+= ${MOTIFLIB} -L${LOCALBASE}/lib -lm -lXpm -lXext -lXt -lSM -lICE -lX11 include Makefile.common