diff options
Diffstat (limited to 'devel/glib20/Makefile')
-rw-r--r-- | devel/glib20/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index 9fcf97cb6..1a6c74c05 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -6,7 +6,7 @@ # PORTNAME= glib -PORTVERSION= 2.3.5 +PORTVERSION= 2.3.6 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/2.3,} \ ftp://ftp.gtk.org/pub/gtk/v2.3/ \ @@ -39,7 +39,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ PTHREAD_LIBS="${PTHREAD_LIBS}" pre-everything:: - @if [ `${LS} ${PKG_DBDIR} | ${GREP} "^glib-2\." | ${CUT} -f 1,2 -d'.'` != glib-2.3 ]; then \ + @have_glib=`${LS} ${PKG_DBDIR} | ${GREP} '^glib-2\.' | ${CUT} -f 1,2 -d'.'` ; \ + if [ ! -z "$${have_glib}" -a "$${have_glib}" != "glib-2.3" ]; then \ if [ "x${GNOME_UPGRADE_SH_VER}" = "x" -a "x${FORCE_MANUAL_UPGRADE}" = "x" ]; then \ ${ECHO_CMD}; \ ${ECHO_CMD} "You are attempting to perform a GNOME upgrade manually. Unless you know"; \ |