From 0660187ad07f36727fead6764740a225a31f342f Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 12 Apr 2024 08:04:05 +0200 Subject: [PATCH] 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. --- biology/salmon/Makefile | 1 - biology/sra-tools/Makefile | 1 - comms/limesuite/Makefile | 4 ---- deskutils/qmediamanager/Makefile | 2 -- devel/alire/Makefile | 2 -- devel/asfml/Makefile | 1 - emulators/virtualbox-ose/Makefile | 1 - graphics/glaxnimate/Makefile | 2 -- mail/opendkim/Makefile | 4 ---- multimedia/vlc/Makefile | 1 - sysutils/npmount/Makefile | 2 -- 11 files changed, 21 deletions(-) diff --git a/biology/salmon/Makefile b/biology/salmon/Makefile index 4e2767cda0de9..f379e0c019346 100644 --- a/biology/salmon/Makefile +++ b/biology/salmon/Makefile @@ -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: diff --git a/biology/sra-tools/Makefile b/biology/sra-tools/Makefile index 39dd02760918b..2b9eb8e674cbb 100644 --- a/biology/sra-tools/Makefile +++ b/biology/sra-tools/Makefile @@ -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: diff --git a/comms/limesuite/Makefile b/comms/limesuite/Makefile index 706267c264ce4..d894c45cf11ab 100644 --- a/comms/limesuite/Makefile +++ b/comms/limesuite/Makefile @@ -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) diff --git a/deskutils/qmediamanager/Makefile b/deskutils/qmediamanager/Makefile index 554f5c2db76de..51a35559239d8 100644 --- a/deskutils/qmediamanager/Makefile +++ b/deskutils/qmediamanager/Makefile @@ -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: diff --git a/devel/alire/Makefile b/devel/alire/Makefile index 4ba7bebe4844a..6f9df7e1ec24c 100644 --- a/devel/alire/Makefile +++ b/devel/alire/Makefile @@ -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: diff --git a/devel/asfml/Makefile b/devel/asfml/Makefile index 58066516a998c..fbaf574a88189 100644 --- a/devel/asfml/Makefile +++ b/devel/asfml/Makefile @@ -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: diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile index cb64022d98c38..5db1512ec70a2 100644 --- a/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -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 diff --git a/graphics/glaxnimate/Makefile b/graphics/glaxnimate/Makefile index ec3c5e5ebf3f1..c6311943b7d76 100644 --- a/graphics/glaxnimate/Makefile +++ b/graphics/glaxnimate/Makefile @@ -59,8 +59,6 @@ ALL_TARGET= all translations OPTIONS_DEFINE= DEBUG -DEBUG_VARS= WITH_DEBUG=yes - .include .if !${PORT_OPTIONS:MDEBUG} diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile index 8f581a63630e6..1cacfe69cd79f 100644 --- a/mail/opendkim/Makefile +++ b/mail/opendkim/Makefile @@ -103,10 +103,6 @@ MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} .include -.if ${PORT_OPTIONS:MDEBUG} -WITH_DEBUG= yes -.endif - .if ${PORT_OPTIONS:MFILTER} SUB_FILES= pkg-message WITHOUT_MILTER_CFLAGS= yes diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 41fc56ab179c2..2f96031d4d363 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -381,7 +381,6 @@ WITH_DVD_DEVICE?=/dev/cd0 .include .if ${PORT_OPTIONS:MDEBUG} -WITH_DEBUG=yes CONFIGURE_ARGS+=--enable-debug --disable-optimizations CFLAGS+=-g -O0 CXXFLAGS+=-g -O0 diff --git a/sysutils/npmount/Makefile b/sysutils/npmount/Makefile index caecd187a1453..522e719c7216b 100644 --- a/sysutils/npmount/Makefile +++ b/sysutils/npmount/Makefile @@ -19,6 +19,4 @@ GH_ACCOUNT= outpaddling MAKE_ENV= MANDIR=${PREFIX}/share/man -WITH_DEBUG= yes - .include