Date: Mon, 20 Feb 2006 18:14:14 +0330 From: "Babak Farrokhi" <babak@farrokhi.net> To: <freebsd-gnome@freebsd.org> Subject: WITHOUT_DEBUG flag for x11-toolkits/gtk20 Message-ID: <001101c6362c$21b97120$eb0ba8c0@ELF>
next in thread | raw e-mail | index | archive | help
Folks, I have always been wondering why this port does not support standard WITHOUT_DEBUG flag (as many ports support this flag, and once you set WITH_DEBUG=no in /etc/make.conf, those ports while enable debugging instead!). So I just added this simple modification to the Makefile to honor the WITHOUT_DEBUG knob. (I am not sure, maybe there was a good reason for using WITH_DEBUG instead of WITHOUT_DEBUG). --- gtk20.patch begins here --- diff -ruN gtk20.orig/Makefile gtk20/Makefile --- gtk20.orig/Makefile Mon Feb 20 17:48:23 2006 +++ gtk20/Makefile Mon Feb 20 17:52:25 2006 @@ -51,6 +51,11 @@ # on the command-line. # Set to minimum if you want to send in a backtrace; set # to yes if you want to know what gtk thinks it's doing. +.if defined(WITHOUT_DEBUG) +.if ${WITHOUT_DEBUG:L} == "yes" +WITH_DEBUG= no +.endif +.endif .if defined(WITH_DEBUG) .if ${WITH_DEBUG:L} == "no" CONFIGURE_ARGS+= --enable-debug=no --- gtk20.patch ends here --- Any opinions? -- Babak Farrokhi babak@farrokhi.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001101c6362c$21b97120$eb0ba8c0>