From 1dbd75825cb1cffcab772f287180a696d8ab1c7d Mon Sep 17 00:00:00 2001 From: Don Lewis Date: Sun, 28 Jan 2018 04:16:23 +0000 Subject: Set WITH_DEBUG if the CRASHDUMP option is set rather than bailing out if CRASHDUMP is selected and WITH_DEBUG is not set. Suggested by: jbeich --- editors/openoffice-4/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'editors') diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile index caca38807aa2..20d623a7e863 100644 --- a/editors/openoffice-4/Makefile +++ b/editors/openoffice-4/Makefile @@ -141,7 +141,7 @@ CPE_VENDOR= apache OPTIONS_DEFINE= CRASHDUMP CUPS DBGUTIL DEBUG GNOME GNOMEVFS MMEDIA \ SDK WIKI_PUBLISHER OPTIONS_DEFAULT= CUPS GNOME GNOMEVFS MMEDIA WIKI_PUBLISHER -CRASHDUMP_DESC= Enable crashdumps, requires WITH_DEBUG +CRASHDUMP_DESC= Enable crashdumps, sets WITH_DEBUG DBGUTIL_DESC= Enable assertions, object counting. (non-production) DEBUG_DESC= Compile with -O0, sets WITH_DEBUG GNOME_DESC= GConf + screensaver presentation control via DBUS @@ -151,6 +151,7 @@ SDK_DESC= Build and install software development kit WIKI_PUBLISHER_DESC= Build and install Wiki Publisher extension CRASHDUMP_CONFIGURE_ENABLE= crashdump +CRASHDUMP_VARS= WITH_DEBUG=yes CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups @@ -196,10 +197,6 @@ TARGET_ORDER_OVERRIDE= 710:gnome-post-icons .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-symbols -.else -.if ${PORT_OPTIONS:MCRASHDUMP} -BROKEN= CRASHDUMP option requires WITH_DEBUG -.endif .endif .include <${FILESDIR}/Makefile.localized> -- cgit v1.2.3