[Glibc-bsd-commits] r5242 - trunk/freebsd-buildutils/debian

rmh at alioth.debian.org rmh at alioth.debian.org
Tue Dec 17 22:40:54 UTC 2013


Author: rmh
Date: 2013-12-17 22:40:54 +0000 (Tue, 17 Dec 2013)
New Revision: 5242

Modified:
   trunk/freebsd-buildutils/debian/changelog
   trunk/freebsd-buildutils/debian/rules
Log:
kldxref is kFreeBSD-only.

Modified: trunk/freebsd-buildutils/debian/changelog
===================================================================
--- trunk/freebsd-buildutils/debian/changelog	2013-12-17 21:47:39 UTC (rev 5241)
+++ trunk/freebsd-buildutils/debian/changelog	2013-12-17 22:40:54 UTC (rev 5242)
@@ -1,3 +1,9 @@
+freebsd-buildutils (10.0~svn259404-2) unstable; urgency=low
+
+  * kldxref is kFreeBSD-only.
+
+ -- Robert Millan <rmh at debian.org>  Tue, 17 Dec 2013 23:34:15 +0100
+
 freebsd-buildutils (10.0~svn259404-1) unstable; urgency=low
 
   * New upstream snapshot (10.0-RC2).

Modified: trunk/freebsd-buildutils/debian/rules
===================================================================
--- trunk/freebsd-buildutils/debian/rules	2013-12-17 21:47:39 UTC (rev 5241)
+++ trunk/freebsd-buildutils/debian/rules	2013-12-17 22:40:54 UTC (rev 5242)
@@ -11,6 +11,7 @@
 DEB_BUILD_GNU_CPU	:= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
 DEB_HOST_ARCH_CPU	:= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 DEB_HOST_MULTIARCH	:= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_ARCH_OS	?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 ifeq ($(DEB_HOST_ARCH_CPU), mipsel)
 MACHINE_ARCH		:= mips
@@ -113,7 +114,10 @@
 	$(PMAKE) $(MAKE_BUILD_FLAGS) -C build-tree/src/usr.bin/file2c
 	$(PMAKE) $(MAKE_BUILD_FLAGS) -C build-tree/src/usr.bin/brandelf
 	$(PMAKE) $(MAKE_BUILD_FLAGS) -C build-tree/src/sys/dev/aic7xxx/aicasm
+ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
+	# Not portable yet. Maybe someday...
 	$(PMAKE) $(MAKE_BUILD_FLAGS) -C build-tree/src/usr.sbin/kldxref
+endif
 
 	PATH=$(CURDIR)/build-tree/src/usr.bin/file2c:$(PATH) \
 		$(PMAKE) $(MAKE_BUILD_FLAGS) -C build-tree/src/usr.sbin/config
@@ -140,8 +144,10 @@
 	$(PMAKE) -C build-tree/src/sys/dev/aic7xxx/aicasm install \
 		DESTDIR=$(CURDIR)/debian/$(package)
 
+ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
 	$(PMAKE) -C build-tree/src/usr.sbin/kldxref install \
 		DESTDIR=$(CURDIR)/debian/$(package) BINDIR=/usr/bin
+endif
 
 	# Legacy make is now called "fmake". FIXME: I guess we'll need to point this
 	# symlink to "bmake" at some point?




More information about the Glibc-bsd-commits mailing list