ports/163259: [patch] sysutils/be_agent: unbreak make readme
Jason Helfman
jhelfman at experts-exchange.com
Tue Dec 13 18:00:31 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list