summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-03-15 21:51:43 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-03-15 21:51:43 +0800
commit72d02eec18137b0aa9262aa9f5b877abedfefee4 (patch)
tree3534d51d6b172b66f63513a593ea195fd07ce720
parent30f56d7154ea5499bd175f8b3724fa27312e43bc (diff)
downloadmarcuscom-ports-72d02eec18137b0aa9262aa9f5b877abedfefee4.tar
marcuscom-ports-72d02eec18137b0aa9262aa9f5b877abedfefee4.tar.gz
marcuscom-ports-72d02eec18137b0aa9262aa9f5b877abedfefee4.tar.bz2
marcuscom-ports-72d02eec18137b0aa9262aa9f5b877abedfefee4.tar.lz
marcuscom-ports-72d02eec18137b0aa9262aa9f5b877abedfefee4.tar.xz
marcuscom-ports-72d02eec18137b0aa9262aa9f5b877abedfefee4.tar.zst
marcuscom-ports-72d02eec18137b0aa9262aa9f5b877abedfefee4.zip
Synx with ports. drag in libiconv again.
Post-patch for gdb scripts isn't needed anymore either. (hopefully) :) git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19135 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--devel/glib20/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile
index 0f93a3007..147431df1 100644
--- a/devel/glib20/Makefile
+++ b/devel/glib20/Makefile
@@ -1,10 +1,10 @@
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
-# $FreeBSD$
+# $FreeBSD: head/devel/glib20/Makefile 344586 2014-02-16 15:40:34Z kwm $
# $MCom$
PORTNAME= glib
PORTVERSION= 2.38.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -24,7 +24,10 @@ LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USES= gettext gmake iconv libtool pathfix perl5 pkgconfig shebangfix
+# iconv:wchar_t - our iconv in base doesn't support utf-8 -> wchar_t (boooo)
+# (wchar_t is used by glibmm, rawtherapee triggered this)
+USES= gettext gmake iconv:wchar_t libtool pathfix perl5 pkgconfig \
+ shebangfix
USE_PYTHON= yes
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \
--disable-man --without-xml-catalog \
@@ -33,6 +36,7 @@ CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \
CONFIGURE_ENV= ac_cv_header_sys_inotify_h=
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
SHEBANG_FILES= */*.pl glib/gen-iswide-table.py
@@ -94,6 +98,8 @@ PLIST_SUB+= GDB="@comment "
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --enable-debug=yes \
--disable-silent-rules
+.else
+CONFIGURE_ARGS+= --disable-modular-tests
.endif
post-patch:
@@ -106,13 +112,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|inotify_support=yes|inotify_support=no| ; \
s|-Werror|| ; \
s|#define HAVE_SYS_INOTIFY_H 1||' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|-2.0.so.0.$$(LT_CURRENT).$$(LT_REVISION)-gdb.py|-2.0.so.0-gdb.py|g' \
- ${WRKSRC}/glib/Makefile.in \
- ${WRKSRC}/gobject/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.${LIBVERSION}
.include <bsd.port.post.mk>