pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/hal * Since PLIST.${OPSYS} is automatically i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c71a15dff5fd
branches:  trunk
changeset: 551293:c71a15dff5fd
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Dec 12 06:22:31 2008 +0000

description:
* Since PLIST.${OPSYS} is automatically included in PLIST_SRC,
  there is no need to explicitly set.
* Contrastly, if PLIST_SRC includes only PLIST, you need to
  set PLIST explicitly.

Fix build problem on NetBSD 4.1_STABLE (maybe NetBSD < 5).

diffstat:

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

diffs (27 lines):

diff -r 579c2ed277f7 -r c71a15dff5fd sysutils/hal/Makefile
--- a/sysutils/hal/Makefile     Fri Dec 12 01:28:11 2008 +0000
+++ b/sysutils/hal/Makefile     Fri Dec 12 06:22:31 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/12/11 18:25:17 reinoud Exp $
+# $NetBSD: Makefile,v 1.21 2008/12/12 06:22:31 taca Exp $
 #
 
 DISTNAME=              hal-0.5.11
@@ -37,16 +37,15 @@
 .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
 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]*)
 CONFIGURE_ARGS+=       --with-backend=netbsd
-PLIST_SRC=             PLIST.NetBSD PLIST
 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"



Home | Main Index | Thread Index | Old Index