1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

- 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 <cvs-src@yandex.ru>
This commit is contained in:
Jeremy Messenger 2011-06-04 22:45:27 +00:00
parent b1c082bf4d
commit eebb5ecf91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275081
2 changed files with 6 additions and 16 deletions
x11/gnome-panel

View File

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

View File

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