Bug 69139 - suphp 0.5.2 no longer builds on 4.x (cannot locate suphp.o object)
Summary: suphp 0.5.2 no longer builds on 4.x (cannot locate suphp.o object)
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-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 07:10 UTC by Jeremy Chadwick
Modified: 2004-07-17 18:34 UTC (History)
0 users

See Also:


Attachments
file.diff (1.32 KB, patch)
2004-07-16 07:10 UTC, Jeremy Chadwick
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Chadwick 2004-07-16 07:10:25 UTC
	Port does not build on 4.x machines; builds fine on 5.x.  This was caused
	by my removal of USE_GMAKE (it seems 5.x make supports expansion modifiers
	for targets/objects such as '%.o : %.c' (all *.o files depend on *.c files),
	while 4.x does not).

	I fixed this by using a more proper method; specifying the objects in OBJS,
	basing a translation from SRCS (using the ":/=" assignment modifiers).

Fix: Apply below patch.  This will update suphp/files/patch-src::Makefile.in
	and will then work on 4.x and 5.x without relying on GNU make.

	If this patch does not work, please let me know ASAP and I'll include the
	actual replacement file (suphp/files/patch-src::Makefile.in) itself.

How-To-Repeat: 	Try to build on a 4.x box.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-07-17 18:34:06 UTC
State Changed
From-To: open->closed

Committed, thanks!