Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 09:52:34 -0800
From:      Jason Helfman <jhelfman@experts-exchange.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163259: [patch] sysutils/be_agent: unbreak make readme
Message-ID:  <1323798754.222036.23951.nullmailer@experts-exchange.com>
Resent-Message-ID: <201112131800.pBDI0V2Z088834@freefall.freebsd.org>

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

>Number:         163259
>Category:       ports
>Synopsis:       [patch] sysutils/be_agent: unbreak make readme
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 13 18:00:30 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD dormouse.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


	
>Description:
reassignment of echo_msg breaks make readme
similar to fix in ports/163159
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/sysutils/be_agent/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	6 Apr 2009 12:39:11 -0000	1.6
+++ Makefile	13 Dec 2011 17:50:57 -0000
@@ -28,10 +28,8 @@
 
 .include <bsd.port.pre.mk>
 
-pre-fetch:
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
-ECHO_MSG=/usr/bin/printf
-IGNORE=	:\n\
+DISTFILE_INSTRUCTIONS=\n\
 Because of licensing restrictions, you must fetch the distribution\n\
 manually.  Please access\n\
 \n\
@@ -41,6 +39,12 @@
 the downloaded ${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}.\n
 .endif
 
+pre-fetch:
+.if defined(DISTFILE_INSTRUCTIONS)
+	@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
+	@exit 1
+.endif
+
 do-install:
 	@${INSTALL_PROGRAM} ${WRKDIR}/common/agent.linux24 ${PREFIX}/bin/agent.be
 	@${CAT} ${PKGMESSAGE} ${WRKDIR}/english/agent.cfg \
>Release-Note:
>Audit-Trail:
>Unformatted:



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