Bug 130279 - Unable to build www/mod_webapp
Summary: Unable to build www/mod_webapp
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-08 01:30 UTC by Peter Jeremy
Modified: 2009-01-08 10:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy 2009-01-08 01:30:01 UTC
	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.
	$
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-01-08 01:30:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2009-01-08 10:28:38 UTC
State Changed
From-To: open->closed

Fixed, thanks for reporting
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-01-08 10:28:43 UTC
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"