- g/c the --enable-static option, libusb builds a static lib by default

- g/c the unused libtool patch
- sync the PLIST
This commit is contained in:
brad 2006-10-01 04:46:19 +00:00
parent 86a869bc04
commit 28adb996c6
3 changed files with 6 additions and 19 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.14 2006/01/17 14:25:32 naddy Exp $
# $OpenBSD: Makefile,v 1.15 2006/10/01 04:46:19 brad Exp $
COMMENT= "USB access library"
DISTNAME= libusb-0.1.10a
PKGNAME= ${DISTNAME}p1
PKGNAME= ${DISTNAME}p2
SHARED_LIBS= usb 8.2 \
usbpp 9.0
MODGNU_SHARED_LIBS= usb '-export-dynamic' \
@ -27,6 +27,6 @@ USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-static --disable-build-docs
--disable-build-docs
.include <bsd.port.mk>

View File

@ -1,15 +0,0 @@
--- ltmain.sh.orig Sun Apr 11 20:01:57 2004
+++ ltmain.sh Fri May 20 22:35:57 2005
@@ -5550,10 +5550,12 @@ relink_command=\"$relink_command\""
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

@ -1,7 +1,9 @@
@comment $OpenBSD: PLIST,v 1.2 2005/05/21 22:24:21 pvalchev Exp $
@comment $OpenBSD: PLIST,v 1.3 2006/10/01 04:46:19 brad Exp $
%%SHARED%%
bin/libusb-config
include/usb.h
include/usbpp.h
lib/libusb.a
lib/libusb.la
lib/libusbpp.a
lib/libusbpp.la