Fix a bug in the configure script causing the default modules directory to be
set to a wrong value. Incorrect use of the AC_DEFINE_DIR macro (in configure.ac) results in a value like "23722{exec_prefix}/lib/mcabber". Help and OK naddy@
This commit is contained in:
parent
99e296222a
commit
e8c13c0b07
@ -1,7 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2016/03/18 21:38:25 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2016/03/18 23:57:57 tim Exp $
|
||||
|
||||
COMMENT= console jabber client
|
||||
DISTNAME= mcabber-1.0.2
|
||||
REVISION= 0
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://mcabber.com/
|
||||
|
16
net/mcabber/patches/patch-configure
Normal file
16
net/mcabber/patches/patch-configure
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-configure,v 1.3 2016/03/18 23:57:57 tim Exp $
|
||||
|
||||
Fix a bug causing the default modules directory to be set incorrectly.
|
||||
|
||||
--- configure.orig Sat Feb 27 13:41:16 2016
|
||||
+++ configure Fri Mar 18 20:36:09 2016
|
||||
@@ -16500,7 +16500,8 @@ fi
|
||||
exec_prefix_NONE=
|
||||
test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
|
||||
test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
|
||||
- ac_define_dir=`eval echo $"${libdir}/${PACKAGE}"`
|
||||
+ pkglibdir=${libdir}/${PACKAGE}
|
||||
+ ac_define_dir=`eval echo $pkglibdir`
|
||||
ac_define_dir=`eval echo $ac_define_dir`
|
||||
PKGLIB_DIR="$ac_define_dir"
|
||||
|
Loading…
x
Reference in New Issue
Block a user