aboutsummaryrefslogtreecommitdiff
path: root/graphics/evince
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-04-23 17:00:53 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-04-23 17:00:53 +0000
commitedf526ceb83eaa35b02c05a9ceca9d5a5b333a2b (patch)
tree79aeb46db140fd315b214fd50c7838564dcd1602 /graphics/evince
parent91e69da95968fb7d1251b0733e3cec8106094966 (diff)
downloadports-edf526ceb83eaa35b02c05a9ceca9d5a5b333a2b.tar.gz
ports-edf526ceb83eaa35b02c05a9ceca9d5a5b333a2b.zip
Notes
Diffstat (limited to 'graphics/evince')
-rw-r--r--graphics/evince/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index b0fdf38b17c2..e5e8049e0e7f 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -28,6 +28,7 @@ INSTALLS_OMF= yes
USES= desktop-file-utils gettext gmake libtool:keepla pathfix \
pkgconfig tar:bzip2
USE_GNOME= intlhack gnomeprefix gnomedocutils gconf2
+USE_XORG= ice sm
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
@@ -117,6 +118,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|execinfo.h|#|g' \
-e 's|" == "|" = "|g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/SMCLIENT_LIBS =/s/$$/ -lICE/' \
+ ${WRKSRC}/cut-n-paste/smclient/Makefile.in
@${REINPLACE_CMD} -e '/^DOC_MODULE_VERSION/d' \
${WRKSRC}/help/reference/libdocument/Makefile.in \
${WRKSRC}/help/reference/libview/Makefile.in