summaryrefslogtreecommitdiff
path: root/misc/xdelta
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-07-23 09:56:15 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-07-23 09:56:15 +0000
commit612935d841de9e5e9e84c1c296f275f5a6697456 (patch)
treef4eb50d8421c633e632314d16bfe7a2070a137dc /misc/xdelta
parentPorting latest chasen suite from NetBSD pkgsrc. (diff)
- 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.
Notes
Notes: svn path=/head/; revision=45394
Diffstat (limited to 'misc/xdelta')
-rw-r--r--misc/xdelta/Makefile7
-rw-r--r--misc/xdelta/files/patch-ltmain.sh18
-rw-r--r--misc/xdelta/pkg-plist2
3 files changed, 20 insertions, 7 deletions
diff --git a/misc/xdelta/Makefile b/misc/xdelta/Makefile
index 39816c00e3b2..5010b7ce0e04 100644
--- a/misc/xdelta/Makefile
+++ b/misc/xdelta/Makefile
@@ -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>
diff --git a/misc/xdelta/files/patch-ltmain.sh b/misc/xdelta/files/patch-ltmain.sh
new file mode 100644
index 000000000000..0c594216b0e1
--- /dev/null
+++ b/misc/xdelta/files/patch-ltmain.sh
@@ -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"
diff --git a/misc/xdelta/pkg-plist b/misc/xdelta/pkg-plist
index bb87e713d8a6..88efea484dd3 100644
--- a/misc/xdelta/pkg-plist
+++ b/misc/xdelta/pkg-plist
@@ -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