some existing COMPILER lines with arch restrictions etc. In the usual case this is now using "COMPILER = base-clang ports-gcc base-gcc" on ports with c++ libraries in WANTLIB. This is basically intended to be a noop on architectures using clang as the system compiler, but help with other architectures where we currently have many ports knocked out due to building with an unsuitable compiler - - some ports require c++11/newer so the GCC version in base that is used on these archirtectures is too old. - some ports have conflicts where an executable is built with one compiler (e.g. gcc from base) but a library dependency is built with a different one (e.g. gcc from ports), resulted in mixing incompatible libraries in the same address space. devel/gmp is intentionally skipped as it's on the path to building gcc - the c++ library there is unused in ports (and not built by default upstream) so intending to disable building gmpcxx in a future commit.
60 lines
1.3 KiB
Makefile
60 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2018/10/24 14:28:00 sthen Exp $
|
|
|
|
# Memory hog, stuck for days on the same file (configoptions.cpp) during build.
|
|
# XXX check with different optimizer level? see doc/install.doc
|
|
NOT_FOR_ARCHS= m88k sh
|
|
BROKEN-alpha= .got subsegment exceeds 64K
|
|
|
|
COMMENT= GUI front-end for doxygen
|
|
|
|
VERSION= 1.8.14
|
|
DISTNAME= doxygen-${VERSION}.src
|
|
PKGNAME= doxygen-gui-${VERSION}
|
|
REVISION= 0
|
|
|
|
CATEGORIES= devel textproc
|
|
|
|
HOMEPAGE= http://www.doxygen.org/
|
|
|
|
MAINTAINER= Rafael Sadowski <rsadowski@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += QtGui QtXml c m ${COMPILER_LIBCXX}
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
MASTER_SITES= http://ftp.stack.nl/pub/users/dimitri/ \
|
|
ftp://ftp.stack.nl/pub/users/dimitri/
|
|
|
|
LIB_DEPENDS= ${MODQT_LIB_DEPENDS}
|
|
|
|
MODULES= devel/cmake \
|
|
x11/qt4 \
|
|
lang/python
|
|
|
|
MODPY_RUNDEP= No
|
|
|
|
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
|
|
CXXFLAGS+= -mxgot
|
|
.endif
|
|
|
|
BUILD_DEPENDS+= devel/bison \
|
|
converters/libiconv
|
|
|
|
RUN_DEPENDS= devel/doxygen
|
|
|
|
CONFIGURE_ARGS= -Dbuild_wizard:Bool=ON \
|
|
-Dforce_qt4:Bool=ON
|
|
|
|
WRKDIST= ${WRKDIR}/doxygen-${VERSION}
|
|
|
|
NO_TEST= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/bin/doxywizard ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/doxywizard.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|