aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rdfdb
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-25 17:33:52 +0800
committermarino <marino@FreeBSD.org>2015-03-25 17:33:52 +0800
commit7cdc35b8ffa68c87e9e0237dacd3369ff5b7163e (patch)
tree235f4a8881bffb486680a8c5fd92b7ad67e64325 /databases/rdfdb
parent12a3d18ba54eb521226a4ec0ed2aecfbcfcb24a8 (diff)
downloadfreebsd-ports-gnome-7cdc35b8ffa68c87e9e0237dacd3369ff5b7163e.tar.gz
freebsd-ports-gnome-7cdc35b8ffa68c87e9e0237dacd3369ff5b7163e.tar.zst
freebsd-ports-gnome-7cdc35b8ffa68c87e9e0237dacd3369ff5b7163e.zip
databases category: Remove $PTHREAD_LIBS
Note: virtuoso did not pass check-plist from before, so it was fixed. approved by: PTHREAD blanket
Diffstat (limited to 'databases/rdfdb')
-rw-r--r--databases/rdfdb/Makefile3
-rw-r--r--databases/rdfdb/files/patch-makefile2
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 \