summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2017-05-25 10:35:32 (GMT)
committerespie <espie@openbsd.org>2017-05-25 10:35:32 (GMT)
commit4c569535ea0460ce2bacc4037d092e52be2c7e28 (patch)
tree02281bbd531d52a808996e24a5122cba8190fdb9
parent7ef01f5616ca8581e71f6742ecee5b7aa378d081 (diff)
downloadopenbsd-ports-4c569535ea0460ce2bacc4037d092e52be2c7e28.tar.gz
openbsd-ports-4c569535ea0460ce2bacc4037d092e52be2c7e28.tar.xz
WANT_CXX. Explicitly ask for /usr/local
-rw-r--r--audio/ncmpcpp/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/ncmpcpp/Makefile b/audio/ncmpcpp/Makefile
index f9b864d..f70779c 100644
--- a/audio/ncmpcpp/Makefile
+++ b/audio/ncmpcpp/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.56 2017/04/10 11:45:23 sthen Exp $
+# $OpenBSD: Makefile,v 1.57 2017/05/25 10:35:32 espie Exp $
-BROKEN-alpha = error: looser throw specifier for 'virtual OutOfBounds::~OutOfBounds()
+BROKEN-alpha = error: looser throw specifier for 'virtual OutOfBounds::~OutOfBounds()'
BROKEN-hppa = bindings.h:85:4: error: type 'Binding' is not a direct base of 'Binding'
COMMENT = ncurses mpd client inspired by ncmpc
@@ -22,7 +22,7 @@ PERMIT_PACKAGE_CDROM = Yes
WANTLIB += boost_filesystem-mt boost_locale-mt boost_program_options-mt
WANTLIB += boost_regex-mt boost_system-mt boost_thread-mt c crypto curl
WANTLIB += ereadline m mpdclient ncursesw nghttp2 pthread ssl ${LIBCXX} tag
-WANTLIB += termcap z
+WANTLIB += termcap z ${LIBECXX}
MASTER_SITES = ${HOMEPAGE}stable/
@@ -32,10 +32,9 @@ LIB_DEPENDS = audio/libmpdclient>=2.4 \
devel/readline \
net/curl
-MODULES = devel/gettext gcc4
+MODULES = devel/gettext
-MODGCC4_ARCHS = *
-MODGCC4_LANGS = c++
+WANT_CXX = base gcc
FAKE_FLAGS = docdir="${PREFIX}/share/examples/ncmpcpp/"
@@ -51,8 +50,10 @@ CONFIGURE_ARGS = --enable-clock \
CONFIGURE_ENV = BOOST_LIB_SUFFIX="-mt" \
CPPFLAGS="-DBOOST_RESULT_OF_USE_DECLTYPE \
-D_XOPEN_SOURCE_EXTENDED \
+ -isystem ${LOCALBASE}/include \
-isystem ${LOCALBASE}/include/ereadline \
-pthread" \
+ LDFLAGS='-L${LOCALBASE}/lib' \
ICU_CFLAGS="icu-is-not-really-needed" \
ICU_LIBS="icu-is-not-really-needed" \
ax_cv_lib_readline="-L${LOCALBASE}/lib -lereadline -ltermcap"