forked from Lainports/freebsd-ports
- Add Makefile.common
o A new build/install system for gecko ports, Makefile.common
includes many generic routines and common tasks.
o Fix ld-run-path in all gecko's by using -Wl,-rpath,${moz_libdir}
thus removing the need to have a startup script for ports that
depend on gecko. [2]
o Use system libm, nss, nspr in all gecko ports
- Add bsd.gecko.mk
o This is the predecessor to WITH_MOZILLA=[mozilla|firefox|...]
with a more robust way of detecting a gecko a end user wishs to
use.
o bsd.gecko.mk abstracts the selection of gecko-based backends. It
allows users and porters to support any available gecko backend
without needing to build many conditional tests. ${USE_GECKO} is the
list of backends that your port can handle, and ${GECKO} is set by
bsd.gecko.mk to be the chosen backend. Users set ${WITH_GECKO} to the
list of gecko backends they want on their system.
Port Makefile example:
USE_GECKO=firefox mozilla seamonkey thunderbird
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
End user example:
WITH_GECKO=seamonkey firefox
We highly recommend moving away from using WITH_MOZILLA and switching to
USE/WITH_GECKO.
PR: 89052 [2]
Submitted by: vs [2]
Obtained from: www/firefox
Thanks to: adamw, marcus, and mezz for ideas, bug squashing, and more
sajd from irc.freenode.org/#FreeBSD-Gnome for
pointing out many bugs
25 lines
572 B
Text
25 lines
572 B
Text
--- js/src/Makefile.in Thu Aug 4 22:26:52 2005
|
|
+++ js/src/Makefile.in Thu Aug 4 23:02:32 2005
|
|
@@ -148,5 +148,4 @@
|
|
endif
|
|
|
|
-FDLIBM_LIBRARY = fdlibm/$(LIB_PREFIX)fdm.$(LIB_SUFFIX)
|
|
JSMATH_PRELINK = jsmathtemp.o
|
|
JS_SAFE_ARENA = 1
|
|
@@ -320,7 +319,4 @@
|
|
endif
|
|
@$(RM) -f $(JSMATH_PRELINK)
|
|
-else
|
|
-# Create dependency so we build fdlibm
|
|
-jsmath.o: $(FDLIBM_LIBRARY) Makefile.in
|
|
endif
|
|
|
|
--- js/Makefile.in Sun Mar 23 14:36:00 2003
|
|
+++ js/Makefile.in Thu Aug 4 23:08:06 2005
|
|
@@ -46,5 +46,5 @@
|
|
#
|
|
|
|
-DIRS = src/fdlibm src
|
|
+DIRS = src
|
|
|
|
include $(topsrcdir)/config/rules.mk
|