On 2012/04/01 13:23, Brian Callahan wrote:
> 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?
How about this, any OKs? There is no plist change.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/doxygen/Makefile,v
retrieving revision 1.20
diff -u -p -w -u -r1.20 Makefile
--- Makefile 13 Nov 2011 22:29:21 -0000 1.20
+++ Makefile 1 Apr 2012 19:54:55 -0000
@@ -1,6 +1,7 @@
# $OpenBSD: Makefile,v 1.20 2011/11/13 22:29:21 naddy Exp $
# Memory hog, stuck for days on the same file during build.
+# XXX check with different optimizer level? see doc/install.doc
NOT_FOR_ARCHS= sh
COMMENT-main= source code documentation generator tool
@@ -10,7 +11,7 @@ VERSION= 1.7.2
DISTNAME= doxygen-${VERSION}.src
PKGNAME-main= doxygen-${VERSION}
FULLPKGNAME-gui=doxygen-gui-${VERSION}
-REVISION-main= 0
+REVISION-main= 1
CATEGORIES= devel textproc
HOMEPAGE= http://www.doxygen.org/
@@ -21,20 +22,29 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/
+MASTER_SITES= http://ftp.stack.nl/pub/users/dimitri/ \
+ ftp://ftp.stack.nl/pub/users/dimitri/
PSEUDO_FLAVORS= no_gui bootstrap
+FLAVORS= english_only
+.if ${ARCH:Mmips64el}
+# ld(1) fails
+FLAVOR?= no_gui english_only
+.else
FLAVOR?= no_gui
+.endif
USE_GMAKE= Yes
-USE_GROFF = Yes
MODULES= converters/libiconv
-
CONFIGURE_STYLE=simple
CONFIGURE_ARGS= --prefix ${WRKINST}${LOCALBASE} \
--install /usr/bin/install \
--dot ${LOCALBASE}/bin/dot
+
+.if ${FLAVOR:Menglish_only}
+CONFIGURE_ARGS+= --english-only
+.endif
MULTI_PACKAGES= -main -gui
Index: pkg/DESCR-main
===================================================================
RCS file: /cvs/ports/devel/doxygen/pkg/DESCR-main,v
retrieving revision 1.2
diff -u -p -w -u -r1.2 DESCR-main
--- pkg/DESCR-main 6 Jan 2008 10:03:00 -0000 1.2
+++ pkg/DESCR-main 1 Apr 2012 19:54:55 -0000
@@ -26,6 +26,7 @@ ports should be installed:
Flavors:
* gui -- build Qt frontend
+ * english_only -- only build English support
Note: