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.
40 lines
953 B
Makefile
40 lines
953 B
Makefile
# $OpenBSD: Makefile,v 1.47 2018/10/24 14:28:11 sthen Exp $
|
|
|
|
COMMENT = fast, compact and portable XSL/XSLT processor
|
|
|
|
V = 1.0.3
|
|
DISTNAME = Sablot-${V}
|
|
PKGNAME = sablotron-${V}
|
|
REVISION = 5
|
|
SHARED_LIBS = sablot 103.0 # .100.3
|
|
CATEGORIES = textproc
|
|
|
|
HOMEPAGE = http://freshmeat.net/projects/sablotron/
|
|
|
|
# MPL1.1 / GPLv3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c expat iconv m ncurses readline ${COMPILER_LIBCXX}
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
MASTER_SITES = http://www.arcane-labs.net/download/OpenBSD/
|
|
|
|
LIB_DEPENDS = converters/libiconv
|
|
|
|
# required to build the documentation
|
|
BUILD_DEPENDS = textproc/p5-XML-Parser
|
|
|
|
USE_GMAKE = Yes
|
|
AUTOCONF_VERSION = 2.57
|
|
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/autocfg
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = SABLOT_GPL=1
|
|
CONFIGURE_ARGS = --enable-static \
|
|
--enable-debugger \
|
|
--with-iconv-prefix=${LOCALBASE} --with-readline \
|
|
--with-html-dir=${PREFIX}/share/doc/sablotron
|
|
|
|
.include <bsd.port.mk>
|