- 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
This commit is contained in:
Tijl Coosemans 2014-09-02 12:32:39 +00:00
parent 92fdaaacf5
commit 6d3b1e9733
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366994
2 changed files with 3 additions and 4 deletions

View File

@ -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]

View File

@ -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