diff options
author | John Marino <marino@FreeBSD.org> | 2015-03-25 09:33:52 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-03-25 09:33:52 +0000 |
commit | 8f3cf904a9acabd2f42b99039c6234450b3ad36d (patch) | |
tree | 235f4a8881bffb486680a8c5fd92b7ad67e64325 /databases/rdfdb | |
parent | c55ac89dcdd6a84ca67f7888c69ebe78c1dac826 (diff) | |
download | ports-8f3cf904a9acabd2f42b99039c6234450b3ad36d.tar.gz ports-8f3cf904a9acabd2f42b99039c6234450b3ad36d.zip |
Notes
Diffstat (limited to 'databases/rdfdb')
-rw-r--r-- | databases/rdfdb/Makefile | 3 | ||||
-rw-r--r-- | databases/rdfdb/files/patch-makefile | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/databases/rdfdb/Makefile b/databases/rdfdb/Makefile index bf8da50dcd1a..899435f54dae 100644 --- a/databases/rdfdb/Makefile +++ b/databases/rdfdb/Makefile @@ -21,7 +21,7 @@ WRKSRC= ${WRKDIR}/rdfdb USES= gmake MAKEFILE= makefile ALL_TARGET= -CFLAGS+= ${PTHREAD_CFLAGS} -Wno-return-type +CFLAGS+= -Wno-return-type SUB_LIST+= RDFDB_PORT="${RDFDB_PORT}" RDFDB_DIR="${RDFDB_DIR}" USE_RC_SUBR= rdfdb-server @@ -31,7 +31,6 @@ PLIST_FILES= bin/rdfdb post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ - -e 's,%%PTHREAD_LIBS%%,${PTHREAD_LIBS:S/"//g},g' \ -e 's,%%BDB_INCLUDE_DIR%%,${BDB_INCLUDE_DIR},g'\ -e 's,%%BDB_LIB_NAME%%,${BDB_LIB_NAME},g' \ ${WRKSRC}/makefile diff --git a/databases/rdfdb/files/patch-makefile b/databases/rdfdb/files/patch-makefile index 9c9e4931e03b..07e4bf890d89 100644 --- a/databases/rdfdb/files/patch-makefile +++ b/databases/rdfdb/files/patch-makefile @@ -9,7 +9,7 @@ $FreeBSD$ -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%% ++LIBS = -l%%BDB_LIB_NAME%% -lpthread +CPPFLAGS += ${CFLAGS} $(INCLUDES) -L %%LOCALBASE%%/lib OBJS = utils/hash.o \ |