ports/65479: ports reinstall ignores ${MAKE_ARGS}

Rong-En Fan rafan at infor.org
Tue Apr 13 04:30:28 UTC 2004

>Number:         65479
>Category:       ports
>Synopsis:       ports reinstall ignores ${MAKE_ARGS}
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 12 21:30:27 PDT 2004
>Originator:     Rong-En Fan
>Release:        FreeBSD 4.9-RELEASE-p4 i386
System: FreeBSD muse.csie.ntu.edu.tw 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #4: Mon Mar 22 00:36:52 CST 2004 root at muse.csie.ntu.edu.tw:/home/admin/usr/obj/home/admin/usr/src/sys/MUSE i386

	java/eclipse uses USE_JAVA and define JAVA_HOME in ${MAKE_ARGS}.
	If JAVA_HOME is not specified, it uses default jdk, say diablo-jdk.
	you can define JAVA_HOME to overwrite this.

	However, when it comes to reinstall, it ignores ${MAKE_ARGS},
	so it go to find whether you install diablo-jdk or not,
	which is not desired behavior.

	after looking at bsd.port.mk, i think reinstall should also pass
	${MAKE_ARGS} and so on to install.
	# make JAVA_HOME=/usr/local/jdk1.4.1 reinstall
	===>  Installing for eclipse-2.1.3_1
	===>   eclipse-2.1.3_1 depends on file: /usr/local/diablo-jdk1.3.1/bin/java - not found

	# make JAVA_HOME=/usr/local/jdk1.4.1 install
	===>  Installing for eclipse-2.1.3_1
	===>   eclipse-2.1.3_1 depends on file: /usr/local/jdk1.4.1/bin/java - found



More information about the freebsd-ports-bugs mailing list