Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2002 19:19:09 -0400 (EDT)
From:      Dan Langille <danl@freebsddiary.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Dan Langille <danl@freebsddiary.org>, wvengen@stack.nl
Subject:   ports/42300: [PATCH] Allow building when the -f makefile option is specified
Message-ID:  <200209012319.g81NJ9v6043323@undef.unixathome.org>

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

>Number:         42300
>Category:       ports
>Synopsis:       [PATCH] Allow building when the -f makefile option is specified
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 01 16:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dan Langille
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
The FreeBSD Diary
>Environment:
System: FreeBSD undef.unixathome.org 4.6-STABLE FreeBSD 4.6-STABLE #6: Wed Jul 31 13:08:02 EDT 2002 dan@undef.unixathome.org:/usr/obj/usr/src/sys/UNDEF i386


	
>Description:
This port does not build if you use the -f option:

[dan@undef:~/ports/misc/cheatah] $ make -V DESCR -V COMMENT -f /usr/home/dan/ports/misc/cheatah/Makefile PORTSDIR=/usr/home/dan/ports
make: cannot open /usr/home/dan/ports/misc/cheatah/../sword//usr/home/dan/ports/misc/cheatah/Makefile.
"/usr/home/dan/ports/misc/cheatah/Makefile", line 27: warning: "make -V PORTVERSION -f /usr/home/dan/ports/misc/cheatah/../sword//usr/home/dan/ports/misc/ch
eatah/Makefile" returned non-zero status
make: cannot open /usr/home/dan/ports/misc/cheatah/../sword//usr/home/dan/ports/misc/cheatah/Makefile.
"/usr/home/dan/ports/misc/cheatah/Makefile", line 28: warning: "make -V PORTREVISION -f /usr/home/dan/ports/misc/cheatah/../sword//usr/home/dan/ports/misc/c
heatah/Makefile" returned non-zero status
make: cannot open /usr/home/dan/ports/misc/cheatah/../sword//usr/home/dan/ports/misc/cheatah/Makefile.
"/usr/home/dan/ports/misc/cheatah/Makefile", line 29: warning: "make -V PORTEPOCH -f /usr/home/dan/ports/misc/cheatah/../sword//usr/home/dan/ports/misc/chea
tah/Makefile" returned non-zero status
/usr/home/dan/ports/misc/cheatah/pkg-descr
/usr/home/dan/ports/misc/cheatah/pkg-comment
[dan@undef:~/ports/misc/cheatah] $

	
>How-To-Repeat:
	
>Fix:

	

--- diff.txt begins here ---
diff -ruN cheatah/Makefile cheatah.new/Makefile
--- cheatah/Makefile	Sun Sep  1 11:13:02 2002
+++ cheatah.new/Makefile	Sun Sep  1 19:14:52 2002
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	cheatah
-PORTVERSION=	${MAKE} -V PORTVERSION -f ${MAINDIR}/${MAKEFILE}
-PORTREVISION=	${MAKE} -V PORTREVISION -f ${MAINDIR}/${MAKEFILE}
-PORTEPOCH=	${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MAKEFILE}
+PORTVERSION=	${MAKE} -V PORTVERSION -f ${MAINDIR}/${MKFILE}
+PORTREVISION=	${MAKE} -V PORTREVISION -f ${MAINDIR}/${MKFILE}
+PORTEPOCH=	${MAKE} -V PORTEPOCH -f ${MAINDIR}/${MKFILE}
 CATEGORIES=	misc
 DISTFILES=
 
@@ -24,6 +24,7 @@
 USE_GNOME=	gtk12
 
 MAINDIR=	${.CURDIR}/../sword
+MKFILE!=	/usr/bin/basename ${MAKEFILE}
 PORTVERSION!=	${PORTVERSION}
 PORTREVISION!=	${PORTREVISION}
 PORTEPOCH!=	${PORTEPOCH}
--- diff.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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