diff options
author | ahoka <ahoka@pkgsrc.org> | 2008-12-21 14:17:20 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2008-12-21 14:17:20 +0000 |
commit | cab99c1537025c1323286fbd6a94c50da5deb33b (patch) | |
tree | 5eaab7136f979e16c10772974e28bae89a6bb37b /sysutils/hal | |
parent | eee478a9ae7114d54557accae5df3ad36480e646 (diff) | |
download | pkgsrc-cab99c1537025c1323286fbd6a94c50da5deb33b.tar.gz |
Rework platform logic to fall back properly to dummy backend.
Diffstat (limited to 'sysutils/hal')
-rw-r--r-- | sysutils/hal/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile index b1a97a5016d..a6c46b2066e 100644 --- a/sysutils/hal/Makefile +++ b/sysutils/hal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2008/12/21 13:58:28 jmcneill Exp $ +# $NetBSD: Makefile,v 1.27 2008/12/21 14:17:20 ahoka Exp $ # DISTNAME= hal-0.5.11 @@ -39,25 +39,25 @@ CONFIGURE_ARGS+= --with-usb-ids=${PREFIX}/share/usbids CONFIGURE_ARGS+= --with-eject=/usr/sbin/cdcontrol CONFIGURE_ARGS+= --with-backend=freebsd PLIST_SRC= PLIST.FreeBSD PLIST -.endif -.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9]*) +.elif !empty(MACHINE_PLATFORM:MNetBSD-[5-9]*) .include "../../devel/libvolume_id/buildlink3.mk" CONFIGURE_ARGS+= --with-backend=netbsd HAL_GROUP= operator -.elif ${OPSYS} == "NetBSD" -# Pull in the dummy backend for older NetBSD -CONFIGURE_ARGS+= --with-backend=dummy -PLIST_SRC= PLIST -.endif -.if ${OPSYS} == "Linux" +.elif ${OPSYS} == "Linux" .include "../../devel/libusb/buildlink3.mk" .include "../../devel/libvolume_id/buildlink3.mk" .include "../../sysutils/pciutils/buildlink3.mk" CONFIGURE_ARGS+= --with-backend=linux CONF_FILES+= ${EGDIR}/90-hal.rules \ ${PKG_SYSCONFBASE}/udev/rules.d/90-hal.rules + +.else # Unsupported systems +# Pull in the dummy backend +.include "../../devel/libvolume_id/buildlink3.mk" +CONFIGURE_ARGS+= --with-backend=dummy +PLIST_SRC= PLIST .endif .if ${OPSYS} == "Darwin" |