Closed Bug 135217 Opened 22 years ago Closed 22 years ago

can no longer build mach-o using an objdir

Categories

(SeaMonkey :: Build Config, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: darin.moz, Assigned: darin.moz)

Details

(Keywords: helpwanted)

can no longer build mach-o using an objdir

pinkerton's patch for bug 121440 broke this.

since i have a mach-o objdir build handy, i'm taking a look...
Keywords: helpwanted
so why can't nativescrollbars.css be called scrollbars.css?  why does it have to
be copied to scrollbars.css at build time?  seems like Makefile.in
unconditionally performs the copy, so why not skip the copy and just check in
this file as scrollbars.css?  what am i missing?
you're missing the fact that the cfm build uses a build-time check to determine
if it should use nativescrollbars.css or xulscrollbars.css. mach-o, since it
doesn't have to support os9, only needs nativescrollbars.css.

gotta love it.
ok, i checked in this patch:

 export:: $(_DEP_CSS)
-       cp $^ scrollbars.css
+       cp $^ $(srcdir)/scrollbars.css

this does the trick... of course it kind of violates the idea that the srcdir
shouldn't be touched when doing an objdir build, but whatever... it works ;-)

marking FIXED
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.