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

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

>Number:         163255
>Category:       ports
>Synopsis:       [patch] science/ovt: 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:12 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 fix in ports/163159
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /usr/local/ncvs/ports/science/ovt/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	21 Jul 2011 05:02:54 -0000	1.16
+++ Makefile	13 Dec 2011 17:39:18 -0000
@@ -39,8 +39,7 @@
 
 # Check for OVT distfile
 .if !exists(${DISTDIR}/${DISTNAME}.tar.bz2) && !defined(PACKAGE_BUILDING)
-ECHO_MSG=/usr/bin/printf
-IGNORE=	:\n\
+DISTFILE_INSTRUCTIONS=\n\
 Because of licensing restrictions, you must fetch the source distribution\n\
 manually.  Please access http://ovt.irfu.se/download/ with a web browser and\n\
 follow the \"Download\" link for the \"OVT ${PORTVERSION} Sources\".\n\
@@ -49,4 +48,10 @@
 Please place this file in ${DISTDIR}.\n
 .endif
 
+pre-fetch:
+.if defined(DISTFILE_INSTRUCTIONS)
+	@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
+	@exit 1
+.endif
+
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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