aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xdelta
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-23 17:56:15 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-23 17:56:15 +0800
commitf54b08292c15b75155a3cc001738b75a13057656 (patch)
tree9a82dfedabfd2d2a3c6c22d3ea13502e46d8cc39 /misc/xdelta
parent8214d04ff4c91c39ef01eb0b507271a7a673136f (diff)
downloadfreebsd-ports-gnome-f54b08292c15b75155a3cc001738b75a13057656.tar.gz
freebsd-ports-gnome-f54b08292c15b75155a3cc001738b75a13057656.tar.zst
freebsd-ports-gnome-f54b08292c15b75155a3cc001738b75a13057656.zip
- 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.
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