1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Prevent the port from installing useless .la files;

- remove useless USE_LIBTOOL along with the custom regex and replace it with a
  patch;
- properly pass CONFIGURE_TARGET for this configure script generated by the
  newest autoconf.
This commit is contained in:
Maxim Sobolev 2001-07-23 09:56:15 +00:00
parent 6eb5724243
commit 612935d841
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45394
3 changed files with 20 additions and 7 deletions

View File

@ -14,13 +14,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= c9710216@atlas.newcastle.edu.au
USE_GLIB= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= xdelta.1
pre-patch:
@${PERL} -pi -e 's|\$\(top_builddir\)/libtool|\$\(prefix\)/bin/libtool|' \
${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -0,0 +1,18 @@
$FreeBSD$
--- ltmain.sh 2001/07/23 09:45:58 1.1
+++ ltmain.sh 2001/07/23 09:46:28
@@ -4175,10 +4175,12 @@
fi
# Install the pseudo-library for information purposes.
+ if false; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View File

@ -5,9 +5,7 @@ include/edsio_edsio.h
include/xd_edsio.h
include/xdelta.h
lib/libedsio.a
lib/libedsio.la
lib/libedsio.so.0
lib/libxdelta.a
lib/libxdelta.la
lib/libxdelta.so.2
share/aclocal/xdelta.m4