mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
16 lines
524 B
Text
16 lines
524 B
Text
$FreeBSD$
|
|
|
|
--- makefile.orig Sun Aug 20 15:48:46 2000
|
|
+++ makefile Sat Jun 8 20:25:04 2002
|
|
@@ -1,7 +1,7 @@
|
|
-CC = gcc -g
|
|
-INCLUDES = -I /usr/local/BerkeleyDB.3.1/include -I expat/xmltok -I expat/xmlparse
|
|
-LIBS = -ldb -lpthread
|
|
-CPPFLAGS = $(INCLUDES) -L /usr/local/BerkeleyDB.3.1/lib/
|
|
+CC ?= gcc -g
|
|
+INCLUDES = -I %%BDB_INCLUDE_DIR%% -I expat/xmltok -I expat/xmlparse
|
|
+LIBS = -l%%BDB_LIB_NAME%% %%PTHREAD_LIBS%%
|
|
+CPPFLAGS += ${CFLAGS} $(INCLUDES) -L %%LOCALBASE%%/lib
|
|
|
|
OBJS = utils/hash.o \
|
|
utils/utils.o \
|