aboutsummaryrefslogtreecommitdiff
path: root/math/libqalculate
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-25 15:18:27 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-25 15:18:27 +0000
commita6d2f30533e141f8a5dc3d20b01d58339654c5cf (patch)
treec350c4abc20ce22bda0b7dba0636816742669bc8 /math/libqalculate
parentac56971df4fe7c1fad64354371b6054246299b18 (diff)
downloadports-a6d2f30533e141f8a5dc3d20b01d58339654c5cf.tar.gz
ports-a6d2f30533e141f8a5dc3d20b01d58339654c5cf.zip
Notes
Diffstat (limited to 'math/libqalculate')
-rw-r--r--math/libqalculate/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/math/libqalculate/Makefile b/math/libqalculate/Makefile
index 4a5b588abcac..574c706897d1 100644
--- a/math/libqalculate/Makefile
+++ b/math/libqalculate/Makefile
@@ -13,15 +13,17 @@ COMMENT= Multi-purpose desktop calculator (backend library)
LIB_DEPENDS= libcln.so:${PORTSDIR}/math/cln
USES= pkgconfig pathfix gmake libtool
-USE_GNOME= glib20 intlhack libxml2
+USE_GNOME= glib20 intltool libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
-NLS_USES= gettext
-NLS_CONFIGURE_ENV= GMSGFMT="${LOCALBASE}/bin/msgfmt"
+NLS_USES= gettext
.include <bsd.port.options.mk>
@@ -30,11 +32,5 @@ post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in
.endif
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|docs||g' ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
- ${WRKSRC}/${CONFIGURE_SCRIPT} \
- ${WRKSRC}/libqalculate.pc.in
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libqalculate.so*
.include <bsd.port.mk>