ports/163253: [patch] japanese/ja-flex-sdk: unbreak make readme

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


>Number:         163253
>Category:       ports
>Synopsis:       [patch] japanese/ja-flex-sdk: 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:40:13 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
same patch for devel/flex-sdk and similar issue in ports/163159
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/devel/flex-sdk2/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	21 Jul 2011 05:02:29 -0000	1.7
+++ Makefile	13 Dec 2011 17:20:38 -0000
@@ -35,8 +35,7 @@
 
 .for i in ${DISTFILES}
 .if !exists(${DISTDIR}/${i})
-ECHO_MSG=/usr/bin/printf
-IGNORE=		:\n\
+DISTFILE_INSTRUCTIONS=\n\
 You must fetch the distribution manually.\n\n\
 Please access \n\
 \n\
@@ -47,6 +46,12 @@
 .endif
 .endfor
 
+pre-fetch:
+.if defined(DISTFILE_INSTRUCTIONS)
+	@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
+	@exit 1
+.endif
+
 do-install:
 .for i in asdoc compc fdb mxmlc
 	${INSTALL_SCRIPT} ${WRKSRC}/${i}.sh ${PREFIX}/bin/${i}
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list