ports/163254: [patch] java/jmf: unbreak make readme

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


>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 at 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:



More information about the freebsd-ports-bugs mailing list