diff options
author | marino <marino@FreeBSD.org> | 2015-03-25 17:33:52 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-03-25 17:33:52 +0800 |
commit | 7cdc35b8ffa68c87e9e0237dacd3369ff5b7163e (patch) | |
tree | 235f4a8881bffb486680a8c5fd92b7ad67e64325 /databases/rdfdb | |
parent | 12a3d18ba54eb521226a4ec0ed2aecfbcfcb24a8 (diff) | |
download | freebsd-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/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 \ |