Tyring to compile mutt with wide char support, I hit a problem building the devel/ncurses port. After running the configure script for devel/ncurses the first time, make failed complaining about not knowing how to run do-configure. The port's Makefile tries to run the configure script twice (each time with different options), the second time by calling the do-configure target again. It does the same for do-build and do-install. If WRKDIRPREFIX is set, it apparently tries to run these target inside the ncurses source tree, and not in the /usr/ports/devel/ncurses directory. This is obviously wrong. I have 'WRKDIRPREFIX=/usr/obj' in /etc/make.conf. Fix: This patch fixes the problem for me: How-To-Repeat: Set WRKDIRPREFIX=/usr/obj in /etc/make.conf, try to compile the Äevel/ncurses port.
Responsible Changed From-To: freebsd-ports-bugs->rafan Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Fixed.
rafan 2007-10-30 06:27:08 UTC FreeBSD ports repository Modified files: devel/ncurses Makefile Log: - Fix build/install when WRKDIRPREFIX is set PR: ports/117643 Reported by: Stefan Sperling <stsp at stsp.name> Revision Changes Path 1.48 +3 -3 ports/devel/ncurses/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
rafan 2007-10-31 02:18:25 UTC FreeBSD ports repository Modified files: devel/ncurses-devel Makefile Log: - Fix build/install when WRKDIRPREFIX is set PR: ports/117643 Reported by: Stefan Sperling <stsp at stsp.name> (for devel/ncurses) Approved by: portmgr (marcus) Revision Changes Path 1.64 +3 -3 ports/devel/ncurses-devel/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Please re-open! This problem is still present. I just hit it again while recompiling all my ports after upgrading from 6.3 to 7.0. The patch that was applied differs from my patch: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/ncurses/Makefile.diff?r1=1.47;r2=1.48 Using my original patch fixed it again for me. -- stefan http://stsp.name PGP Key: 0xF59D25F0
State Changed From-To: closed->open Need to investigate why submitter's approach does not work for me.
rafan 2008-03-31 07:26:11 UTC FreeBSD ports repository Modified files: devel/ncurses Makefile Log: - Really fix build when WRKDIRPREFIX [1] I don't know why the current approach works in my previous test. Now really fix the build by changing to .CURDIR (where the port lives). Note that I use .CURDIR instead of PORTSDIR/PKGORIGIN as the port may live outside somewhere else. - Respect PORTEXAMPLES - Add trailing slash for destination directory PR: ports/117643 [1] Submitted by: Stefan Sperling <stsp at stsp.name> [1] Revision Changes Path 1.49 +19 -13 ports/devel/ncurses/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
rafan 2008-03-31 07:26:48 UTC FreeBSD ports repository Modified files: devel/ncurses-devel Makefile distinfo Log: - Update to 5.6 snapshot 20080329 - Really fix build when WRKDIRPREFIX [1] I don't know why the current approach works in my previous test. Now really fix the build by changing to .CURDIR (where the port lives). Note that I use .CURDIR instead of PORTSDIR/PKGORIGIN as the port may live outside somewhere else. - Add trailing slash for destination directory PR: ports/117643 [1] Submitted by: Stefan Sperling <stsp at stsp.name> [1] Revision Changes Path 1.75 +13 -10 ports/devel/ncurses-devel/Makefile 1.40 +3 -0 ports/devel/ncurses-devel/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Really fixed.