mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-17 19:39:43 +00:00
cleanup: remove occurrences of WITH_DEBUG
DEBUG like all ports features, must not ever be set in a port, they are user facing features, that the user needs to enable in their environment/make.conf, either by defining WITH_DEBUG globally, or by setting WITH_DEBUG_PORTS with origin of ports they want DEBUG enabled in.
This commit is contained in:
parent
38e3f7255c
commit
0660187ad0
@ -40,7 +40,6 @@ CMAKE_ARGS+= -DHAVE_FAST_MALLOC:BOOL=on \
|
||||
-DFETCHED_PUFFERFISH:BOOL=on \
|
||||
-DFETCHED_LIBGFF:BOOL=on \
|
||||
-DFETCH_STADEN:BOOL=true
|
||||
WITH_DEBUG= yes
|
||||
LDFLAGS+= -lpthread
|
||||
|
||||
pre-configure:
|
||||
|
@ -35,7 +35,6 @@ SHEBANG_GLOB= *.sh
|
||||
GH_ACCOUNT= ncbi
|
||||
GH_TUPLE+= ncbi:ncbi-vdb:${DISTVERSION}:vdb/ncbi-vdb
|
||||
|
||||
WITH_DEBUG= yes
|
||||
CMAKE_ARGS+= -DVDB_LIBDIR:STRING=${WRKSRC}/ncbi-vdb/build/lib
|
||||
|
||||
post-extract:
|
||||
|
@ -87,10 +87,6 @@ PLIST_SUB+= OCTAVE_OCT_SITE_DIR=${OCTAVE_OCT_SITE_DIR:sh}/
|
||||
PLIST_SUB+= OCTAVE_M_SITE_DIR=${OCTAVE_M_SITE_DIR:sh}/
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
WITH_DEBUG= yes
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
# N.B. COPYTREE_BIN here chmods 555 which breaks CMAKE_INSTALL in user mode!
|
||||
(cd ${BUILD_WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin)
|
||||
|
@ -25,8 +25,6 @@ USE_GITHUB= yes
|
||||
|
||||
GH_ACCOUNT= outpaddling
|
||||
|
||||
WITH_DEBUG= yes
|
||||
|
||||
PLIST_FILES= bin/qmediamanager share/man/man1/qmediamanager.1.gz
|
||||
|
||||
do-install:
|
||||
|
@ -32,8 +32,6 @@ DOCS_DESC= Install Design and Development documentation
|
||||
|
||||
.if empty(PORT_OPTIONS:MDEBUG)
|
||||
_GPR_ARGS+= -XALIRE_BUILD_MODE=release
|
||||
.else
|
||||
WITH_DEBUG= yes
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
|
@ -44,7 +44,6 @@ _GPR_ARGS= -j${MAKE_JOBS_NUMBER} -p
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
_GPR_ARGS+= -XASFML_BUILD_MODE=debug
|
||||
WITH_DEBUG= yes
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
|
@ -146,7 +146,6 @@ CONFLICTS_INSTALL+= virtualbox-ose
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
KMK_BUILDTYPE= debug
|
||||
KMK_FLAGS+= BUILD_TYPE=debug
|
||||
WITH_DEBUG= yes
|
||||
.else
|
||||
KMK_BUILDTYPE= release
|
||||
.endif
|
||||
|
@ -59,8 +59,6 @@ ALL_TARGET= all translations
|
||||
|
||||
OPTIONS_DEFINE= DEBUG
|
||||
|
||||
DEBUG_VARS= WITH_DEBUG=yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !${PORT_OPTIONS:MDEBUG}
|
||||
|
@ -103,10 +103,6 @@ MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
WITH_DEBUG= yes
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MFILTER}
|
||||
SUB_FILES= pkg-message
|
||||
WITHOUT_MILTER_CFLAGS= yes
|
||||
|
@ -381,7 +381,6 @@ WITH_DVD_DEVICE?=/dev/cd0
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
WITH_DEBUG=yes
|
||||
CONFIGURE_ARGS+=--enable-debug --disable-optimizations
|
||||
CFLAGS+=-g -O0
|
||||
CXXFLAGS+=-g -O0
|
||||
|
@ -19,6 +19,4 @@ GH_ACCOUNT= outpaddling
|
||||
|
||||
MAKE_ENV= MANDIR=${PREFIX}/share/man
|
||||
|
||||
WITH_DEBUG= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user