aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-02 12:32:39 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-02 12:32:39 +0000
commit6d3b1e97334c1472c9de51dab371789355d57f88 (patch)
treec32d5e62d5842bdeafdf76a14d71e1968f015dbe
parent92fdaaacf5aaa7f7e36045e53131a44b26a2904b (diff)
downloadports-6d3b1e97334c1472c9de51dab371789355d57f88.tar.gz
ports-6d3b1e97334c1472c9de51dab371789355d57f88.zip
- Delete call to g_thread_init. It isn't needed with glib 2.32 and up
and the port doesn't link with libgthread-2.0. - Remove .la files while here. Reported by: antoine
Notes
Notes: svn path=/head/; revision=366994
-rw-r--r--www/gtkhtml3/Makefile5
-rw-r--r--www/gtkhtml3/pkg-plist2
2 files changed, 3 insertions, 4 deletions
diff --git a/www/gtkhtml3/Makefile b/www/gtkhtml3/Makefile
index 79f8c5b7d4af..bec355b07540 100644
--- a/www/gtkhtml3/Makefile
+++ b/www/gtkhtml3/Makefile
@@ -4,7 +4,7 @@
PORTNAME= gtkhtml3
PORTVERSION= 3.32.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www gnome
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/3$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -21,7 +21,7 @@ LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
-USES= gettext libtool:keepla pathfix pkgconfig gmake tar:bzip2
+USES= gettext libtool pathfix pkgconfig gmake tar:bzip2
USE_XORG= xinerama xi xrandr xcursor xcomposite xdamage
USE_GNOME= gnomeprefix intlhack gconf2 gtk20
USE_LDCONFIG= yes
@@ -42,6 +42,7 @@ post-patch:
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|gtkhtml-editor-test[$$]|gtkhtml3-editor-test$$|' \
${WRKSRC}/components/editor/Makefile.in
+ @${REINPLACE_CMD} '/g_thread_init/d' ${WRKSRC}/components/editor/main.c
@${REINPLACE_CMD} -e 's|G_CONST_RETURN||g' \
${WRKSRC}/a11y/*.[ch]
diff --git a/www/gtkhtml3/pkg-plist b/www/gtkhtml3/pkg-plist
index 8428044a089e..da6f6c38fdd7 100644
--- a/www/gtkhtml3/pkg-plist
+++ b/www/gtkhtml3/pkg-plist
@@ -15,11 +15,9 @@ include/libgtkhtml-%%VERSION%%/gtkhtml/gtkhtml.h
include/libgtkhtml-%%VERSION%%/gtkhtml/htmlenums.h
include/libgtkhtml-%%VERSION%%/gtkhtml/htmltokenizer.h
include/libgtkhtml-%%VERSION%%/gtkhtml/htmltypes.h
-lib/libgtkhtml-%%VERSION%%.la
lib/libgtkhtml-%%VERSION%%.so
lib/libgtkhtml-%%VERSION%%.so.19
lib/libgtkhtml-%%VERSION%%.so.19.1.1
-lib/libgtkhtml-editor-%%VERSION%%.la
lib/libgtkhtml-editor-%%VERSION%%.so
lib/libgtkhtml-editor-%%VERSION%%.so.0
lib/libgtkhtml-editor-%%VERSION%%.so.0.0.0