svn commit: r288615 - in head/lib: libusb libz

Bryan Drewery bdrewery at FreeBSD.org
Sat Oct 3 16:34:23 UTC 2015


Author: bdrewery
Date: Sat Oct  3 16:34:21 2015
New Revision: 288615
URL: https://svnweb.freebsd.org/changeset/base/288615

Log:
  Remove redundant COMPAT_32BIT guard on pkgconfig files.  This is already handled
  by the LIBRARIES_ONLY mechanism protecting FILES.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/lib/libusb/Makefile
  head/lib/libz/Makefile

Modified: head/lib/libusb/Makefile
==============================================================================
--- head/lib/libusb/Makefile	Sat Oct  3 16:26:46 2015	(r288614)
+++ head/lib/libusb/Makefile	Sat Oct  3 16:34:21 2015	(r288615)
@@ -35,10 +35,10 @@ SRCS+=		libusb10_io.c
 
 .if defined(COMPAT_32BIT)
 CFLAGS+=	-DCOMPAT_32BIT
-.else
+.endif
+
 FILES=		libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
 FILESDIR=	${LIBDATADIR}/pkgconfig
-.endif
 
 #
 # Cross platform support

Modified: head/lib/libz/Makefile
==============================================================================
--- head/lib/libz/Makefile	Sat Oct  3 16:26:46 2015	(r288614)
+++ head/lib/libz/Makefile	Sat Oct  3 16:34:21 2015	(r288615)
@@ -68,10 +68,8 @@ test: example minigzip
 	(export LD_LIBRARY_PATH=. ; \
 		echo hello world | ./minigzip | ./minigzip -d )
 
-.ifndef COMPAT_32BIT
 FILES=		zlib.pc
 FILESDIR=	${LIBDATADIR}/pkgconfig
-.endif
 
 .include <bsd.lib.mk>
 


More information about the svn-src-all mailing list