aboutsummaryrefslogtreecommitdiff
path: root/textproc/soothsayer
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2008-04-07 02:50:39 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2008-04-07 02:50:39 +0000
commit9a64868b087cf02fafa35c5fd66ef3db32d2ddb0 (patch)
treedecfcaecb1f6b8099294250ee6c86a962e5c4f77 /textproc/soothsayer
parent8f9ba792f92db1a8e867a0283024f1e4f58b8a01 (diff)
Notes
Diffstat (limited to 'textproc/soothsayer')
-rw-r--r--textproc/soothsayer/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/textproc/soothsayer/Makefile b/textproc/soothsayer/Makefile
index 808afa573a05..a4d400c4ed98 100644
--- a/textproc/soothsayer/Makefile
+++ b/textproc/soothsayer/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS= swig>=1.3.31:${PORTSDIR}/devel/swig13
USE_LDCONFIG= yes
USE_SQLITE= 3
+USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --localstatedir=${PREFIX}/var/${PORTNAME}
CPPFLAGS+= -I${LOCALBASE}/include
@@ -29,5 +30,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|\$$\^|$${.ALLSRC}|' ${WRKSRC}/resources/Makefile.in
@${REINPLACE_CMD} -e '1s|/.*|/bin/sh|'\
${WRKSRC}/resources/profiles/generate_soothsayer_config.sh
+ @${REINPLACE_CMD} -E -e "s|(LIBS=.*)-lsqlite3(.*)|\1\`pkg-config --static --libs sqlite3\`\2|" \
+ -e "s|(.*SQLITE_LIBS=.*)-lsqlite3(.*)|\1\`pkg-config --static --libs sqlite3\`\2|" \
+ ${WRKSRC}/configure
.include <bsd.port.mk>