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.
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.32 2018/10/24 14:27:57 sthen Exp $
|
|
|
|
COMMENT= small and easy to use graphical MPD client
|
|
|
|
DISTNAME= gimmix-0.5.7.2
|
|
CATEGORIES= audio x11
|
|
REVISION= 7
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
|
|
WANTLIB += Xrender atk-1.0 c cairo crypto curl expat ffi fontconfig
|
|
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glade-2.0
|
|
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
|
|
WANTLIB += gtk-x11-2.0 harfbuzz iconv intl lzma m mpd nghttp2 nxml pango-1.0
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
|
|
WANTLIB += ssl ${COMPILER_LIBCXX} tag tag_c xcb xcb-render xcb-shm
|
|
WANTLIB += xml2 z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimmix.berlios/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
MODULES= textproc/intltool
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
LIB_DEPENDS= audio/libmpd \
|
|
audio/taglib \
|
|
devel/libglade2 \
|
|
textproc/libnxml
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
|
|
|
post-extract:
|
|
ln -s ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po
|
|
|
|
.include <bsd.port.mk>
|