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.
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.20 2018/10/24 14:28:09 sthen Exp $
|
|
|
|
COMMENT = IRC-friendly instant messaging client
|
|
|
|
DISTNAME= minbif-1.0.5
|
|
CATEGORIES= net
|
|
REVISION= 5
|
|
|
|
HOMEPAGE = http://minbif.im/
|
|
MASTER_SITES= ${HOMEPAGE}attachments/download/148/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MODULES = devel/cmake
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
LIB_DEPENDS = net/pidgin,-libpurple \
|
|
security/gnutls
|
|
WANTLIB = purple c glib-2.0 gthread-2.0 intl m pthread \
|
|
${COMPILER_LIBCXX} gnutls
|
|
CONFIGURE_ENV+= CPPFLAGS+="-I${X11BASE}/include"
|
|
|
|
NO_TEST = Yes
|
|
|
|
# commented out atm, needs testing
|
|
#FLAVORS = full
|
|
#FLAVOR ?=
|
|
#
|
|
#.if ${FLAVOR:Mfull}
|
|
#LIB_DEPENDS= net/pidgin,-libpurple,audio \
|
|
# multimedia/gstreamer-0.10/core \
|
|
# net/farsight2 \
|
|
# graphics/libcaca>=0.99.17
|
|
#
|
|
#WANTLIB += Imlib2 X11 Xext freetype gmodule-2.0 gobject-2.0 gstreamer-0.10
|
|
#WANTLIB += caca gstbase-0.10 gstfarsight-0.10 gstinterfaces-0.10 xml2 z
|
|
#
|
|
#CONFIGURE_ARGS+= -D ENABLE_VIDEO=ON \
|
|
# -D ENABLE_CACA=ON \
|
|
# -D ENABLE_IMLIB=ON
|
|
#.else
|
|
CONFIGURE_ARGS+= -D ENABLE_VIDEO=OFF \
|
|
-D ENABLE_CACA=OFF \
|
|
-D ENABLE_PAM=OFF \
|
|
-D ENABLE_IMLIB=OFF
|
|
#.endif
|
|
|
|
.include <bsd.port.mk>
|