use WANT_CXX, these build trivially

This commit is contained in:
espie 2017-05-27 04:41:43 +00:00
parent 06dd99ebf4
commit 7f3650af58
4 changed files with 14 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.103 2017/03/12 10:13:49 dcoppa Exp $
# $OpenBSD: Makefile,v 1.104 2017/05/27 04:41:43 espie Exp $
BROKEN-hppa = no atomic ops
COMMENT = Music Player Daemon
@ -17,13 +17,11 @@ WANTLIB = FLAC audiofile avcodec avformat avutil \
id3tag iso9660 m mikmod mp3lame mpcdec \
mpdclient ogg opus pthread samplerate \
shout sndfile sndio speex sqlite3 theora \
vorbis vorbisenc yajl z
vorbis vorbisenc yajl z ${LIBECXX}
MASTER_SITES = http://www.musicpd.org/download/mpd/${VER:R}/
MODULES = lang/clang
MODCLANG_ARCHS = *
MODCLANG_LANGS = c++
WANT_CXX = base clang
BUILD_DEPENDS = devel/boost

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.41 2017/04/08 18:21:07 landry Exp $
# $OpenBSD: Makefile,v 1.42 2017/05/27 04:41:43 espie Exp $
BROKEN-hppa = undefined reference to __sync atomic ops
BROKEN-mips64 = undefined reference to __sync atomic ops
@ -20,7 +20,7 @@ MAINTAINER = David Carlier <devnexen@gmail.com>
# LGPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m pthread sndio
WANTLIB += c m pthread sndio ${LIBECXX}
MASTER_SITES = ${HOMEPAGE:S,.html,-releases/,}
EXTRACT_SUFX = .tar.bz2
@ -48,11 +48,11 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenBSD \
-DALSOFT_NO_CONFIG_UTIL=On
MODULES = devel/cmake lang/clang gcc4
WANT_CXX = base clang gcc
# clang fails on those architectures
MODGCC4_ARCHS = sparc64 powerpc
MODGCC4_LANGS = c c++
MODCLANG_ARCHS = aarch64 amd64 arm i386 mips64 mips64el
MODCLANG_LANGS = c c++
SEPARATE_BUILD =Yes
NO_TEST = Yes

View File

@ -1,4 +1,4 @@
#$OpenBSD: Makefile,v 1.2 2016/11/02 21:05:38 sthen Exp $
#$OpenBSD: Makefile,v 1.3 2017/05/27 04:41:43 espie Exp $
COMMENT = Bounded Model Checker for C and C++ programs
@ -18,14 +18,12 @@ MAINTAINER = Mages Simon <mages.simon@googlemail.com>
# BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m
WANTLIB += c m ${LIBECXX}
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} minisat2_2.2.1.orig.tar.gz:0
MASTER_SITES0 = ${MASTER_SITE_DEBIAN:=main/m/minisat2/}
MODULES = lang/clang
MODCLANG_LANGS = c++
MODCLANG_ARCHS = *
WANT_CXX = base clang
BUILD_DEPENDS = devel/bison

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.41 2017/05/14 11:27:52 gsoares Exp $
# $OpenBSD: Makefile,v 1.42 2017/05/27 04:41:43 espie Exp $
COMMENT = C/C++ static checker
@ -13,7 +13,7 @@ MAINTAINER = Gleydson Soares <gsoares@openbsd.org>
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c execinfo m pcre
WANTLIB = c execinfo m pcre ${LIBECXX}
BUILD_DEPENDS = textproc/docbook-xsl
@ -33,9 +33,8 @@ MAKE_FLAGS = BIN=${PREFIX}/bin SRCDIR=build \
CPPFLAGS="-DHAVE_RULES -DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
LDFLAGS="-L${PREFIX}/lib -lpcre -lexecinfo"
MODULES = lang/python gcc4
MODGCC4_LANGS = c++
MODGCC4_ARCHS = *
MODULES = lang/python
WANT_CXX = base gcc
MODPY_RUNDEP = No
CONFIGURE_STYLE = none