aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2010-11-29 09:54:06 +0800
committerbeech <beech@FreeBSD.org>2010-11-29 09:54:06 +0800
commit00cffea2dcec598a36b89234b32b6faaeebca5e5 (patch)
treefab7b738f2d0a71f502885b176f71ada0c6fa6ad
parent88eb6a8ad25f3f1ceb61b0fc47956cace83d97d9 (diff)
downloadfreebsd-ports-gnome-00cffea2dcec598a36b89234b32b6faaeebca5e5.tar.gz
freebsd-ports-gnome-00cffea2dcec598a36b89234b32b6faaeebca5e5.tar.zst
freebsd-ports-gnome-00cffea2dcec598a36b89234b32b6faaeebca5e5.zip
Fix PREFIX in configure environment.
PR: ports/152532 Submitted by: Charlie Kester <corky1951@comcast.net> (maintainer) Approved by: itetcu (implicit)
-rw-r--r--x11/fbpanel/Makefile2
-rw-r--r--x11/fbpanel/files/patch-configure29
2 files changed, 20 insertions, 11 deletions
diff --git a/x11/fbpanel/Makefile b/x11/fbpanel/Makefile
index 167be5c474bb..d10a202b9703 100644
--- a/x11/fbpanel/Makefile
+++ b/x11/fbpanel/Makefile
@@ -21,7 +21,7 @@ USE_GNOME= gtk20
HAS_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ENV+= PREFIX=${PREFIX}
+CONFIGURE_ARGS+= --prefix=${PREFIX}
MAN1= fbpanel.1
MANCOMPRESSED= no
diff --git a/x11/fbpanel/files/patch-configure b/x11/fbpanel/files/patch-configure
index 532edc3e51c8..67c79362e883 100644
--- a/x11/fbpanel/files/patch-configure
+++ b/x11/fbpanel/files/patch-configure
@@ -1,11 +1,20 @@
---- ./configure.orig 2010-04-04 02:02:40.000000000 -0700
-+++ ./configure 2010-11-17 11:11:33.000000000 -0800
-@@ -324,7 +324,7 @@
- add_var target "stab: configure for arch" ""
+--- ./configure.orig 2010-04-04 11:02:40.000000000 +0200
++++ ./configure 2010-11-22 19:41:52.000000000 +0100
+@@ -92,7 +92,7 @@
+ {
+ local var val A
- # N.B. order is important
--add_var prefix "install architecture-independent files" /usr
-+add_var prefix "install architecture-independent files" '${PREFIX}'
- add_var eprefix "install architecture-dependent files" '$prefix'
- add_var bindir "user executables" '$eprefix/bin'
- add_var sbindir "system executables" '$eprefix/sbin'
+- [ "$(sed -e 's/--[^=]\+=[^=]*/AA/' <<< $1)" != AA ] && return 1
++ [ "$(sed -E -e 's/--[^=]+=[^=]*/AA/' <<< $1)" != AA ] && return 1
+
+ A=${1:2}
+ var=${A%%=*}
+@@ -167,7 +167,7 @@
+
+ function check_feature ()
+ {
+- [ "$(sed -e 's/--\(enable\|disable\)-.\+/AA/' <<< $1)" != AA ] && return 1
++ [ "$(sed -E -e 's/--(enable|disable)-.+/AA/' <<< $1)" != AA ] && return 1
+ A=${1:2}
+ var=${A#*-}
+ val=${A%%-*}