The new dependencies render the loongson unable to build with default settings. As reported before [0] doxygen won't build on loongson without --english-only being set in the CONFIGURE_ARGS (ld fails, looks like another binutils problem). Perhaps we should set CONFIGURE_ARGS+=--english-only for loongson until binutils-2.17 is turned on?

Another option (which is what I did) is to edit the Makefile for misc/gpsd to not pull in php and all of its dependencies (which eventually includes doxygen). gpsd doesn't know or care if you have php installed and asking to build another 8+ hours worth of dependencies (on top of the day it already takes to build webkit's dependencies, plus the day it takes to build webkit) seems excessive. Patch to move php to a FLAVOR in misc/gpsd at the botton of the email.

I will report back when the loongson has finished building webkit-1.8.0 (~13 hours in, so far so good).

Thanks.

~Brian

[0] http://marc.info/?l=openbsd-ports&m=132752764509297&w=2

misc/gpsd patch:
--- Makefile.orig       Sat Mar 31 21:15:14 2012
+++ Makefile    Sat Mar 31 21:24:57 2012
@@ -28,7 +28,6 @@

 MASTER_SITES=          ${MASTER_SITE_BERLIOS:=gpsd/}

-MODULES +=             lang/python lang/php
 USE_LIBTOOL=           yes
 USE_GROFF =            Yes
 CONFIGURE_STYLE=       gnu
@@ -37,10 +36,10 @@
                        --enable-tnt \
                        --enable-oceanserver

-PSEUDO_FLAVORS =       no_x11
+PSEUDO_FLAVORS =       no_x11 php
 FLAVOR?=

-MULTI_PACKAGES=                -main -php
+MULTI_PACKAGES=                -main

 BUILD_DEPENDS=         textproc/libxslt \
                        textproc/docbook \
@@ -58,13 +57,22 @@
                        LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm -pthread 
-lutil"
 .endif

+.if ${FLAVOR:L:Mphp}
+MODULES+=              lang/python lang/php
+MULTI_PACKAGES+=       -php
+.else
+MODULES+=              lang/python
+.endif
+
 WANTLIB-main=          m ncurses c pthread stdc++ util

 # the php display script doesn't depend on having any of gpsd around,
 # it just sits there and looks pretty.
+.if ${FLAVOR:L:Mphp}
 PKG_ARCH-php=          *
 RUN_DEPENDS-php=       lang/php/${MODPHP_VERSION},-gd
 PREFIX-php=            /var/www/
+.endif

 PYTHON_SCRIPTS=                gpsprof gps/gps.py gpsfake gpscat xgps gpsspeed

Reply via email to