| Summary: | Unable to build www/mod_webapp | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Peter Jeremy <PeterJeremy> |
| Component: | Individual Port(s) | Assignee: | freebsd-apache (Nobody) <apache> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->apache Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->closed Fixed, thanks for reporting pav 2009-01-08 10:28:33 UTC
FreeBSD ports repository
Modified files:
www/mod_webapp Makefile
Log:
- Fix ${PORTSDIR} usage
PR: ports/130279
Reported by: Peter Jeremy <peterjeremy@optushome.com.au>
Revision Changes Path
1.22 +3 -1 ports/www/mod_webapp/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"
|
Any 'make' invocation of www/mod_webapp reports cd: can't cd to /devel/apr "Makefile", line 40: warning: "cd /devel/apr && make -V APR_VERSION" returned non-zero status cd: can't cd to /devel/apr "Makefile", line 41: warning: "cd /devel/apr && make -V WRKSRC" returned non-zero status Attempting to actually build the port fails because various dependencies aren't built correctly - eg: ===> mod_webapp-4.1.24_3 depends on file: /nonexistent - not found ===> Verifying configure for /nonexistent in /usr/ports/devel/apr Within www/mod_webapp/Makefile, APR_VERSION and WRKSRC are both initialised using '!= cd ${PORTSDIR}/devel/apr && ...' but PORTSDIR is not initialised at that point. This problem appears to have been introduced with v1.21 of the Makefile. Fix: PORTSDIR needs to be defined before it is used - presumably by including one of <bsd.port.*.mk>. How-To-Repeat: $ make checksum cd: can't cd to /devel/apr "/home/ports/www/mod_webapp/Makefile", line 40: warning: "cd /devel/apr && make -V APR_VERSION" returned non-zero status cd: can't cd to /devel/apr "/home/ports/www/mod_webapp/Makefile", line 41: warning: "cd /devel/apr && make -V WRKSRC" returned non-zero status => MD5 Checksum OK for mod_webapp/jakarta-tomcat-connectors-4.1.24-src.tar.gz. => SHA256 Checksum OK for mod_webapp/jakarta-tomcat-connectors-4.1.24-src.tar.gz. $