Switch optional dependency from removed devel/callgrind to devel/valgrind
Clean up a bit while here PR: ports/147437 Reported by: Anatoly Borodin <anatoly.borodin AT gmail.com>
This commit is contained in:
parent
cf6781f7cf
commit
bf492587b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255760
@ -22,13 +22,12 @@ LIB_DEPENDS= svn_client-1.0:${PORTSDIR}/devel/subversion
|
||||
CONFLICTS= umbrello-[0-9]* kcachegrind-[0-9]*
|
||||
|
||||
USE_KDEBASE_VER=3
|
||||
PREFIX= ${KDE_PREFIX}
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_BDB= yes
|
||||
USE_AUTOTOOLS= libtool:22
|
||||
USE_AUTOTOOLS= libtool:22
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
@ -42,20 +41,13 @@ CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
|
||||
|
||||
MAN1= cervisia.1 cvsblame.1 cvscheck.1 cvsversion.1 includemocs.1 kde-build.1 kdesvn-build.1 noncvslist.1
|
||||
|
||||
OPTIONS= VALGRIND "Install devel/valgrind" off
|
||||
|
||||
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-everything::
|
||||
.if !defined(WITH_OPTIONAL_DEPENDS)
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
|
||||
@${ECHO_MSG} "to automatically build the suggested programs to complement kdesdk3."
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
|
||||
# callgrind is optional. It depends on valgrind, which is i386 only.
|
||||
.if defined(WITH_OPTIONAL_DEPENDS) && ${ARCH} == "i386"
|
||||
RUN_DEPENDS+= callgrind:${PORTSDIR}/devel/callgrind
|
||||
.if defined(WITH_VALGRIND)
|
||||
RUN_DEPENDS+= valgrind:${PORTSDIR}/devel/valgrind
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
Loading…
Reference in New Issue
Block a user