summaryrefslogtreecommitdiffstats
path: root/graphics/libgnomecanvas/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libgnomecanvas/Makefile')
-rw-r--r--graphics/libgnomecanvas/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/libgnomecanvas/Makefile b/graphics/libgnomecanvas/Makefile
index 294f4a0fa..ed5c40238 100644
--- a/graphics/libgnomecanvas/Makefile
+++ b/graphics/libgnomecanvas/Makefile
@@ -7,6 +7,8 @@
PORTNAME= libgnomecanvas
PORTVERSION= 2.3.0
+#PORTREVISION= 1
+PORTREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3
@@ -27,6 +29,9 @@ CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.mk>