--- a/configure
+++ b/configure
@@ -21396,11 +21396,7 @@
# Check whether --with-libperl was given.
if test "${with_libperl+set}" = set; then :
withval=$with_libperl;
- if test -x "$withval"
- then
- perl_interpreter="$withval"
- with_libperl="yes"
- else if test "x$withval" != "xno" && test "x$withval" != "xyes"
+ if test "x$withval" != "xno" && test "x$withval" != "xyes"
then
LDFLAGS="$LDFLAGS -L$withval/lib"
CPPFLAGS="$CPPFLAGS -I$withval/include"
@@ -21408,7 +21404,7 @@
with_libperl="yes"
else
with_libperl="$withval"
- fi; fi
+ fi
It can be build with this patch
--- a/configure libperl+ set}" = set; then : $with_libperl; r="$withval" "$LDFLAGS -L$withval/lib" "$CPPFLAGS -I$withval/include" libperl= "yes" libperl= "$withval"
+++ b/configure
@@ -21396,11 +21396,7 @@
# Check whether --with-libperl was given.
if test "${with_
withval=
- if test -x "$withval"
- then
- perl_interprete
- with_libperl="yes"
- else if test "x$withval" != "xno" && test "x$withval" != "xyes"
+ if test "x$withval" != "xno" && test "x$withval" != "xyes"
then
LDFLAGS=
CPPFLAGS=
@@ -21408,7 +21404,7 @@
with_
else
with_
- fi; fi
+ fi
else
and in debian/rules
confflags = --host= $(DEB_HOST_ GNU_TYPE) \ $(DEB_BUILD_ GNU_TYPE) --prefix=/usr \ \$${prefix} /share/ man \ dir=/var --sysconfdir=/etc \ perl-bindings= "INSTALLDIRS= vendor" \ libstatgrab \ included- ltdl \ all-plugins
--build=
--mandir=
--localstate
+ --with-libperl=/usr \
--with-
--without-
--without-
--disable-static \
--enable-
At least, the one in wheey (5.1.0-3) can be build on precise