aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glib20/Makefile
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-10-20 02:19:29 +0800
committerjylefort <jylefort@FreeBSD.org>2006-10-20 02:19:29 +0800
commitb20f148a6e1dc62cfc5145a7c65bad918eb30551 (patch)
tree30b888a1ea55100f3f9ff52b1335e99066665047 /devel/glib20/Makefile
parentd75d9b9490c6271c10565fa4497e8fb667de33fd (diff)
downloadfreebsd-ports-gnome-b20f148a6e1dc62cfc5145a7c65bad918eb30551.tar.gz
freebsd-ports-gnome-b20f148a6e1dc62cfc5145a7c65bad918eb30551.tar.zst
freebsd-ports-gnome-b20f148a6e1dc62cfc5145a7c65bad918eb30551.zip
Restore the collation patch.
Approved by: portmgr (marcus)
Diffstat (limited to 'devel/glib20/Makefile')
-rw-r--r--devel/glib20/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile
index 83fdd84a816f..3eeae953292e 100644
--- a/devel/glib20/Makefile
+++ b/devel/glib20/Makefile
@@ -42,12 +42,20 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
+OPTIONS= COLLATION_FIX "fix string collation" off
+
.include <bsd.port.pre.mk>
.if ( ( ${OSVERSION} < 504101 ) || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600012 ) )
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-gthread_gthread-posix.c
.endif
+.if defined(WITH_COLLATION_FIX)
+LIB_DEPENDS+= icui18n:${PORTSDIR}/devel/icu
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-glib_Makefile.in \
+ ${FILESDIR}/extra-patch-glib_gunicollate.c
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|%%X11BASE%%|${X11BASE}|g' \