aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rdfdb/files/patch-makefile
blob: 331f5bd91b837aaef0cec15852ed156dc24e62bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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%% -lpthread
+CPPFLAGS += ${CFLAGS} $(INCLUDES) -L  %%LOCALBASE%%/lib
 
 OBJS =  utils/hash.o \
    utils/utils.o \