From eebb5ecf9123754587d7c47c1ab69f467d616db2 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Sat, 4 Jun 2011 22:45:27 +0000 Subject: [PATCH] - Remove --enable-polkit configure option, that doesn't exists anymore - Move CPPFLAGS out of CONFIGURE_ENV - Do a better way of patch for Python. PR: ports/157126 Submitted by: Ruslan Mahmatkhanov --- x11/gnome-panel/Makefile | 11 ++++++----- x11/gnome-panel/files/patch-configure | 11 ----------- 2 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 x11/gnome-panel/files/patch-configure diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile index 1082e367f0e2..4887b4cf240d 100644 --- a/x11/gnome-panel/Makefile +++ b/x11/gnome-panel/Makefile @@ -26,19 +26,18 @@ LIB_DEPENDS= gweather.1:${PORTSDIR}/net/libgweather \ USE_GETTEXT= yes USE_XORG= ice sm x11 xau xrandr +USE_PYTHON= yes INSTALLS_OMF= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop libwnck gnomemenus \ gnomedocutils ltverhack referencehack librsvg2 WANT_GNOME= yes -GNOME_DESKTOP_VERSION=2 USE_GMAKE= yes USE_AUTOTOOLS= libtool -CONFIGURE_ARGS= --disable-network-manager \ - --enable-polkit -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --disable-network-manager +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" +CPPFLAGS="-I${LOCALBASE}/include" MAN1= gnome-panel.1 GCONF_SCHEMAS= clock.schemas fish.schemas \ @@ -80,6 +79,8 @@ post-patch: @${REINPLACE_CMD} -e 's|xsltproc -o| xsltproc --nonet -o|g' \ ${WRKSRC}/help/clock/Makefile.in \ ${WRKSRC}/help/fish/Makefile.in + @${REINPLACE_CMD} -e 's|python.* python2\.0|${PYTHON_VERSION}|g' \ + ${WRKSRC}/configure post-install: @${MKDIR} ${PREFIX}/lib/gnome-panel/modules diff --git a/x11/gnome-panel/files/patch-configure b/x11/gnome-panel/files/patch-configure deleted file mode 100644 index 785c7f0f6176..000000000000 --- a/x11/gnome-panel/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2010-01-07 14:47:10.000000000 +0100 -+++ configure 2010-01-07 14:47:58.000000000 +0100 -@@ -13318,7 +13318,7 @@ - - # Find any Python interpreter. - if test -z "$PYTHON"; then -- for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 -+ for ac_prog in python python2 python3 python3.0 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2