Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 13:28:29 GMT
From:      John Marino <draco@marino.st>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174333: [patch] sysutils/apcupsd: typo in makefile (breaks on bmake)
Message-ID:  <201212101328.qBADST6i015857@red.freebsd.org>
Resent-Message-ID: <201212101330.qBADU0a6073411@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174333
>Category:       ports
>Synopsis:       [patch] sysutils/apcupsd: typo in makefile (breaks on bmake)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 10 13:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
There is a typo in the sysutils/apcupsd makefile that shows when using bmake to execute it. The fix is attached.

>How-To-Repeat:

>Fix:
--- Makefile.orig	2012-12-03 14:19:11.000000000 +0100
+++ Makefile	2012-12-10 14:20:10.633984000 +0100
@@ -137,7 +137,7 @@
 .if defined(WITH_CLIENT_ONLY) && ( defined(WITH_APCSMART_DRV) || \
 	defined(WITH_APCDUMB_DRV) || defined(WITH_PCNET_DRV) || \
 	defined(WITH_POWERFLUTE) || defined(WITH_USB) || \
-	definedWITH_SNMP_DRV) || defined(WITH_TEST_DRV) )
+	defined(WITH_SNMP_DRV) || defined(WITH_TEST_DRV) )
 	@${ECHO_CMD} "It doesn't make sense to build drivers if all you want is"
 	@${ECHO_CMD} "the client; please do make config and select either"
 	@${ECHO_CMD} "CLIENT_ONLY or the *_DRV you need"

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212101328.qBADST6i015857>