summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/evince/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index aa0a5762e..bba9ee9c6 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -3,7 +3,7 @@
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/evince/Makefile,v 1.27 2005/08/26 06:26:47 marcus Exp $
+# $MCom: ports/graphics/evince/Makefile,v 1.28 2005/08/29 04:37:58 ahze Exp $
#
PORTNAME= evince
@@ -19,6 +19,7 @@ LIB_DEPENDS= poppler.0:${PORTSDIR}/graphics/poppler
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GHOSTSCRIPT=yes
@@ -103,6 +104,11 @@ pre-everything::
@${ECHO_MSG}
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lt1lib|-lt1 -lm|' \
+ ${WRKSRC}/configure \
+ ${WRKSRC}/dvi/mdvi-lib/Makefile.in
+
post-install:
@-update-desktop-database