diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-03-18 18:48:45 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-03-18 18:48:45 +0000 |
commit | 20d046f3046588593c76a3e8bee161a3a7d992f8 (patch) | |
tree | 0465484f87b8699e0a963f1a0b54c305170ffa21 /x11-toolkits/gtk30 | |
parent | 96e764fe75599fe4a209449dbead3e29b76d1316 (diff) | |
download | ports-20d046f3046588593c76a3e8bee161a3a7d992f8.tar.gz ports-20d046f3046588593c76a3e8bee161a3a7d992f8.zip |
Notes
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index de243a39ad1a..25de12f2e5ac 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -55,25 +55,8 @@ gtk_MAN= gtk-query-immodules-2.0.1 gtk-update-icon-cache.1 MAN1= ${gdk_pixbuf_MAN} ${gtk_MAN} -# Setting WITH_DEBUG=yes effectively adds -g to $CFLAGS -# unless doing so would clobber a preexisting $CFLAGS. -# Setting to yes also causes debugging into to be spat out -# 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(WITH_DEBUG) || defined(WITHOUT_DEBUG) -.if defined(WITHOUT_DEBUG) || ${WITH_DEBUG:L} == "no" -CONFIGURE_ARGS+= --enable-debug=no -.else -.if ${WITH_DEBUG:L} == "yes" +.if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug=yes -STRIP= -.else -CONFIGURE_ARGS+= --enable-debug=minimum -CFLAGS+= -g -.endif -STRIP= -.endif .endif .include <bsd.port.pre.mk> @@ -94,16 +77,6 @@ PLIST_SUB+= CUPS:="@comment " #CFLAGS+= -mno-sse2 .endif -pre-everything:: -.if !defined(WITH_DEBUG) - @${ECHO_MSG} - @${ECHO_MSG} "Enable or disable debugging with the following knob" - @${ECHO_MSG} "WITH_DEBUG=[no|minimum|yes] or WITHOUT_DEBUG=yes" - @${ECHO_MSG} - @${ECHO_MSG} "Default is minimum" - @${ECHO_MSG} -.endif - post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \ ${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g' |