diff options
author | bapt <bapt@FreeBSD.org> | 2011-04-11 16:34:17 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2011-04-11 16:34:17 +0800 |
commit | 7c2279c9ea2445795906f17a17b4992ef5db8fe5 (patch) | |
tree | fa82e80371d6b2ded726b8ca4e53e49b52901507 /audio/pytone | |
parent | 00a8191fa754e9677dd68c7595adb287b76a451e (diff) | |
download | freebsd-ports-gnome-7c2279c9ea2445795906f17a17b4992ef5db8fe5.tar.gz freebsd-ports-gnome-7c2279c9ea2445795906f17a17b4992ef5db8fe5.tar.zst freebsd-ports-gnome-7c2279c9ea2445795906f17a17b4992ef5db8fe5.zip |
Add a new macro to deal with conflict between ncurses from base and ncurses from ports.
If a ports is linked against ncurses from base or from the ports, it should then add:
USE_NCURSES=yes
it is also possible to specify the hard dependency on the ports ncurses or one the base one adding the following macros:
WITH_NCURSES_PORT=yes or WITH_NCURSES_BASE=yes
PR: ports/155269
Submitted by: me
Reviwed by: pav@
Approved by: portmgr (pav@)
Exp-run by: portmgr (pav@)
Diffstat (limited to 'audio/pytone')
-rw-r--r-- | audio/pytone/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/pytone/Makefile b/audio/pytone/Makefile index 03719c7c908b..a524038de774 100644 --- a/audio/pytone/Makefile +++ b/audio/pytone/Makefile @@ -21,6 +21,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/py- ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen USE_PYTHON= yes +USE_NCURSES= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= PyTone @@ -35,10 +36,6 @@ OPTIONS= MAD "MPEG Audio Decoder (libmad) support" On \ CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033) -LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses -.endif - .if !defined(WITHOUT_MAD) RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad .endif |