pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/libusb1



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Feb 17 21:57:50 UTC 2024

Modified Files:
        pkgsrc/devel/libusb1: Makefile

Log Message:
libusb1: Link nvpair library on illumos


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/libusb1/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libusb1/Makefile
diff -u pkgsrc/devel/libusb1/Makefile:1.33 pkgsrc/devel/libusb1/Makefile:1.34
--- pkgsrc/devel/libusb1/Makefile:1.33  Fri Feb 16 08:13:13 2024
+++ pkgsrc/devel/libusb1/Makefile       Sat Feb 17 21:57:50 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2024/02/16 08:13:13 nia Exp $
+# $NetBSD: Makefile,v 1.34 2024/02/17 21:57:50 nia Exp $
 
 DISTNAME=      libusb-1.0.27
 PKGNAME=       ${DISTNAME:S/libusb/libusb1/}
@@ -32,6 +32,11 @@ BUILDLINK_TRANSFORM+=        opt:-O2:-O1
 CFLAGS+=               -fno-strict-aliasing
 .endif
 
+# XXX should be only illumos
+.if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} >= 051100
+LDFLAGS+=      -lnvpair
+.endif
+
 PKGCONFIG_OVERRIDE+=   libusb-1.0.pc.in
 
 # systemd dependency



Home | Main Index | Thread Index | Old Index