ports/163252: [patch] devel/uppaal: unbreak make readme

Jason Helfman jhelfman at experts-exchange.com
Tue Dec 13 17:30:17 UTC 2011


>Number:         163252
>Category:       ports
>Synopsis:       [patch] devel/uppaal: 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 17:30:16 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/devel/uppaal/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	7 Nov 2011 04:24:53 -0000	1.11
+++ Makefile	13 Dec 2011 17:24:08 -0000
@@ -36,11 +36,17 @@
 LINUX_OSRELEASE!=	${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null`
 
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
-ECHO_MSG=/usr/bin/printf
-IGNORE=Please download ${DISTNAME}${EXTRACT_SUFX} into\
+DISTFILE_INSTRUCTIONS=\n\
+Please download ${DISTNAME}${EXTRACT_SUFX} into\
 ${DISTDIR}/${DIST_SUBDIR} from:\n\t${DOWNLOAD_URL}\n
 .endif
 
+pre-fetch:
+.if defined(DISTFILE_INSTRUCTIONS)
+	@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
+	@exit 1
+.endif
+
 post-patch:
 	${BRANDELF} -t Linux ${WRKSRC}/bin-Linux/server
 	${MV} ${WRKSRC}/bin-Linux/server ${WRKSRC}/bin-Linux/server.exe
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list