View | Details | Raw Unified | Return to bug 152532
Collapse All | Expand All

(-)./fbpanel/Makefile (-1 / +1 lines)
Lines 21-27 Link Here
21
HAS_CONFIGURE=	yes
21
HAS_CONFIGURE=	yes
22
USE_GMAKE=	yes
22
USE_GMAKE=	yes
23
23
24
CONFIGURE_ENV+= PREFIX=${PREFIX}
24
CONFIGURE_ARGS+=	--prefix=${PREFIX}
25
25
26
MAN1=		fbpanel.1
26
MAN1=		fbpanel.1
27
MANCOMPRESSED=	no
27
MANCOMPRESSED=	no
(-)./fbpanel/files/patch-configure (-10 / +19 lines)
Lines 1-11 Link Here
1
--- ./configure.orig	2010-04-04 02:02:40.000000000 -0700
1
--- ./configure.orig	2010-04-04 11:02:40.000000000 +0200
2
+++ ./configure	2010-11-17 11:11:33.000000000 -0800
2
+++ ./configure	2010-11-22 19:41:52.000000000 +0100
3
@@ -324,7 +324,7 @@
3
@@ -92,7 +92,7 @@
4
 add_var target "stab: configure for arch" ""
4
 {
5
     local var val A
5
 
6
 
6
 # N.B. order is important
7
-    [ "$(sed -e 's/--[^=]\+=[^=]*/AA/' <<< $1)" != AA ] && return 1
7
-add_var prefix "install architecture-independent files" /usr
8
+    [ "$(sed -r -e 's/--[^=]+=[^=]*/AA/' <<< $1)" != AA ] && return 1
8
+add_var prefix "install architecture-independent files" '${PREFIX}'
9
 
9
 add_var eprefix "install architecture-dependent files" '$prefix'
10
     A=${1:2}
10
 add_var bindir "user executables" '$eprefix/bin'
11
     var=${A%%=*}
11
 add_var sbindir "system executables" '$eprefix/sbin'
12
@@ -167,7 +167,7 @@
13
 
14
 function check_feature ()
15
 {
16
-    [ "$(sed  -e 's/--\(enable\|disable\)-.\+/AA/' <<< $1)" != AA ] && return 1
17
+    [ "$(sed -r -e 's/--(enable|disable)-.+/AA/' <<< $1)" != AA ] && return 1
18
     A=${1:2}
19
     var=${A#*-}
20
     val=${A%%-*}

Return to bug 152532