summaryrefslogtreecommitdiffstats
path: root/devel/libusb
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2001-11-24 09:16:16 +0000
committerpat <pat@FreeBSD.org>2001-11-24 09:16:16 +0000
commite2c7805648294c16addfbaf080d961a212124919 (patch)
treeb6a228504fbde89bd93d9e2c85fc455aa0e26449 /devel/libusb
parent24328bf6885b7c9439bc8c71d9273b4bcf5619df (diff)
downloadFreeBSD-ports-e2c7805648294c16addfbaf080d961a212124919.zip
FreeBSD-ports-e2c7805648294c16addfbaf080d961a212124919.tar.gz
Update to 0.1.4 and add patch-ltmain.sh to prevent installing
useless .la files (bows to sobomax) PR: 32245 Submitted by: maintainer
Diffstat (limited to 'devel/libusb')
-rw-r--r--devel/libusb/Makefile2
-rw-r--r--devel/libusb/distinfo2
-rw-r--r--devel/libusb/files/patch-ltmain.sh25
-rw-r--r--devel/libusb/pkg-plist3
4 files changed, 28 insertions, 4 deletions
diff --git a/devel/libusb/Makefile b/devel/libusb/Makefile
index 66fd9f0..32ccd12 100644
--- a/devel/libusb/Makefile
+++ b/devel/libusb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libusb
-PORTVERSION= 0.1.3b
+PORTVERSION= 0.1.4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= libusb
diff --git a/devel/libusb/distinfo b/devel/libusb/distinfo
index 5b0d08f..93f492b 100644
--- a/devel/libusb/distinfo
+++ b/devel/libusb/distinfo
@@ -1 +1 @@
-MD5 (libusb-0.1.3b.tar.gz) = a5d80dff371935ca0bb0e4f9547ac401
+MD5 (libusb-0.1.4.tar.gz) = 8043d54bed214a712f60d55de3e252c8
diff --git a/devel/libusb/files/patch-ltmain.sh b/devel/libusb/files/patch-ltmain.sh
new file mode 100644
index 0000000..e71718a
--- /dev/null
+++ b/devel/libusb/files/patch-ltmain.sh
@@ -0,0 +1,25 @@
+--- ltmain.sh.orig Sat Sep 22 20:10:52 2001
++++ ltmain.sh Tue Nov 20 21:14:55 2001
+@@ -2444,6 +2444,9 @@
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test $build_libtool_need_lc = "yes"; then
+@@ -4210,10 +4213,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/devel/libusb/pkg-plist b/devel/libusb/pkg-plist
index 90bf30c..3d1c0f9 100644
--- a/devel/libusb/pkg-plist
+++ b/devel/libusb/pkg-plist
@@ -1,7 +1,6 @@
bin/libusb-config
include/usb.h
-lib/libusb-0.1.so.3
+lib/libusb-0.1.so.4
lib/libusb-0.1.so
lib/libusb.so
-lib/libusb.la
lib/libusb.a
OpenPOWER on IntegriCloud