pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/hal pkg/40039: sysutils/hal compilation error...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28515df4896d
branches:  trunk
changeset: 550702:28515df4896d
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Wed Nov 26 19:45:32 2008 +0000

description:
pkg/40039: sysutils/hal compilation errors (NetBSD 4.0)

The NetBSD hal backend requires features new to NetBSD 5.0, so fallback
to the dummy backend for previous releases.

diffstat:

 sysutils/hal/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 4cec13e225d6 -r 28515df4896d sysutils/hal/Makefile
--- a/sysutils/hal/Makefile     Wed Nov 26 19:21:45 2008 +0000
+++ b/sysutils/hal/Makefile     Wed Nov 26 19:45:32 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/11/25 23:56:30 jmcneill Exp $
+# $NetBSD: Makefile,v 1.8 2008/11/26 19:45:32 jmcneill Exp $
 #
 
 DISTNAME=              hal-0.5.11
@@ -47,6 +47,9 @@
 .if !empty(MACHINE_PLATFORM:MNetBSD-[5-9]*)
 CONFIGURE_ARGS+=       --with-backend=netbsd
 PLIST_SRC=             PLIST.NetBSD PLIST
+.elif ${OPSYS} == "NetBSD"
+# Pull in the dummy backend for older NetBSD
+CONFIGURE_ARGS+=       --with-backend=dummy
 .endif
 
 .if ${OPSYS} == "Linux"



Home | Main Index | Thread Index | Old Index