Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 09:45:40 -0800
From:      Jason Helfman <jhelfman@experts-exchange.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163257: [patch] science/vmd: unbreak make readme
Message-ID:  <1323798340.461699.22676.nullmailer@experts-exchange.com>
Resent-Message-ID: <201112131750.pBDHoDJW080076@freefall.freebsd.org>

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

>Number:         163257
>Category:       ports
>Synopsis:       [patch] science/vmd: 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:50: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@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: /usr/local/ncvs/ports/science/vmd/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile	18 Dec 2010 09:24:21 -0000	1.21
+++ Makefile	13 Dec 2011 17:42:42 -0000
@@ -57,8 +57,8 @@
 
 # Check for VMD sources
 .if !exists(${DISTDIR}/${VMD_DIST}) # && !defined(PACKAGE_BUILDING)
-ECHO_MSG=	${PRINTF}
-IGNORE=	because of licensing restrictions, you must fetch the source\n\
+DISTFILE_INSTRUCTIONS=\n\
+because of licensing restrictions, you must fetch the source\n\
 distribution manually.  Please access\n\
 http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMD\n\
 with a web browser.  You will be required to log in and register,\n\
@@ -67,6 +67,12 @@
 ${VMD_DIST}.  Please place this file in ${DISTDIR}.
 .endif
 
+pre-fetch:
+.if defined(DISTFILE_INSTRUCTIONS)
+	@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
+	@exit 1
+.endif
+
 do-extract:
 	${MKDIR} ${WRKDIR}
 	${TAR} xfz ${DISTDIR}/${VMD_DIST} -C ${WRKDIR}
>Release-Note:
>Audit-Trail:
>Unformatted:



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