aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-09-18 23:49:32 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-09-18 23:49:32 +0000
commitde0e3997d9f8f1d857da7e9c179548dbf294ebcf (patch)
tree92732628620a56a8f192cc701136a350dd021f7c /lib/libusb
parent76e11fbdfcb3c09bb413a8832ef7fc1f06ba61ce (diff)
Notes
Diffstat (limited to 'lib/libusb')
-rw-r--r--lib/libusb/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile
index 6560f8f0b231..25d886a5c454 100644
--- a/lib/libusb/Makefile
+++ b/lib/libusb/Makefile
@@ -35,16 +35,9 @@ SRCS+= libusb10_io.c
.if defined(COMPAT_32BIT)
CFLAGS+= -DCOMPAT_32BIT
-.endif
-
-.ifndef COMPAT_32BIT
-beforeinstall:
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
- ${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
- ${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
- ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
- ${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
+.else
+FILES= libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
+FILESDIR= ${LIBDATADIR}/pkgconfig
.endif
#