Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 09:35:45 -0800
From:      Jason Helfman <jhelfman@experts-exchange.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163254: [patch] java/jmf: unbreak make readme
Message-ID:  <1323797745.133684.20727.nullmailer@experts-exchange.com>
Resent-Message-ID: <201112131740.pBDHeDHP070964@freefall.freebsd.org>

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

>Number:         163254
>Category:       ports
>Synopsis:       [patch] java/jmf: 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@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


	
>Description:
reassignment of echo_msg breaks make readme
similar fix in port/163159
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/java/jmf/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	21 Jul 2011 05:02:46 -0000	1.7
+++ Makefile	13 Dec 2011 17:33:18 -0000
@@ -33,8 +33,7 @@
 
 # Check for JMF sources
 .if !exists(${DISTDIR}/${DISTFILES}) && !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:\n\
 http://java.sun.com/products/java-media/jmf/2.1.1/download.html\n\
@@ -43,6 +42,12 @@
 Please place this file in ${DISTDIR}.\n
 .endif
 
+pre-fetch:
+.if defined(DISTFILE_INSTRUCTIONS)
+	@${PRINTF} "${DISTFILE_INSTRUCTIONS}"
+	@exit 1
+.endif
+
 do-configure:
 	${RM} ${WRKSRC}/bin/*.orig
 	for file in `${LS} ${WRKSRC}/bin/jm*`; do \
>Release-Note:
>Audit-Trail:
>Unformatted:



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