summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortommat2007-02-13 11:27:11 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitb4a22aa27107a5ac03a43af59f2c447b02ee5eda (patch)
tree1c6e82d9cb81cc13b5d7709cc454a36e84c05df1
parent2d050bfd7c1115e887d97038080d4b0fd35de479 (diff)
downloadacl-b4a22aa27107a5ac03a43af59f2c447b02ee5eda.zip
acl-b4a22aa27107a5ac03a43af59f2c447b02ee5eda.tar.gz
- regenerate libtool
Changed files: acl-lt.patch -> 1.3 acl.spec -> 1.78
-rw-r--r--acl-lt.patch11
-rw-r--r--acl.spec14
2 files changed, 21 insertions, 4 deletions
diff --git a/acl-lt.patch b/acl-lt.patch
index 4568ae5..8afdd6c 100644
--- a/acl-lt.patch
+++ b/acl-lt.patch
@@ -13,3 +13,14 @@
ifeq ($(ENABLE_SHARED),yes)
LTLDFLAGS += -rpath $(PKG_LIB_DIR)
+--- acl-2.2.39/configure.in.orig 2007-02-13 10:26:52.000000000 +0100
++++ acl-2.2.39/configure.in 2007-02-13 10:27:42.000000000 +0100
+@@ -2,6 +2,8 @@
+ AC_CONFIG_HEADER(include/config.h)
+ AC_PREFIX_DEFAULT(/usr)
+
++AC_PROG_LIBTOOL
++
+ AC_ARG_ENABLE(shared,
+ [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
+ enable_shared=yes)
diff --git a/acl.spec b/acl.spec
index c9b1f63..ce4e008 100644
--- a/acl.spec
+++ b/acl.spec
@@ -67,6 +67,8 @@ Statyczna biblioteka acl.
%build
rm -f aclocal.m4
+cp -f /usr/share/automake/config.sub .
+%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%configure \
@@ -74,7 +76,8 @@ rm -f aclocal.m4
OPTIMIZER="%{rpmcflags} -DENABLE_GETTEXT"
%{__make} \
- LLDFLAGS="%{rpmldflags}"
+ LLDFLAGS="%{rpmldflags}" \
+ top_buillddir="../"
%install
rm -rf $RPM_BUILD_ROOT
@@ -87,11 +90,14 @@ DIST_INSTALL_LIB=`pwd`/install-lib.manifest
export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB
%{__make} install \
- DIST_MANIFEST=$DIST_INSTALL
+ DIST_MANIFEST=$DIST_INSTALL \
+ top_buillddir="../"
%{__make} install-dev \
- DIST_MANIFEST=$DIST_INSTALL_DEV
+ DIST_MANIFEST=$DIST_INSTALL_DEV \
+ top_buillddir="../"
%{__make} install-lib \
- DIST_MANIFEST=$DIST_INSTALL_LIB
+ DIST_MANIFEST=$DIST_INSTALL_LIB \
+ top_buillddir="../"
rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_copy_int,acl_set_fd,acl_set_file}.3
rm -f $RPM_BUILD_ROOT%{_mandir}/man3/{acl_to_short_text,acl_to_text}.3