aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2007-03-19 02:48:45 +0800
committermarcus <marcus@FreeBSD.org>2007-03-19 02:48:45 +0800
commitca7411dbb85a405c623002afea4dae9c336fef62 (patch)
tree52c1b5da6369234933631410b2d48bf8dee56a86 /x11-toolkits
parentb94cb502dffd8433ca56c48e2f9aaee6f8014d70 (diff)
downloadfreebsd-ports-graphics-ca7411dbb85a405c623002afea4dae9c336fef62.tar.gz
freebsd-ports-graphics-ca7411dbb85a405c623002afea4dae9c336fef62.tar.zst
freebsd-ports-graphics-ca7411dbb85a405c623002afea4dae9c336fef62.zip
Remove the special handing of WITH_DEBUG since this is taken care of in
bsd.port.mk now. Reported by: mi
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk20/Makefile29
-rw-r--r--x11-toolkits/gtk30/Makefile29
2 files changed, 2 insertions, 56 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index de243a39ad1..25de12f2e5a 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/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'
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index de243a39ad1..25de12f2e5a 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'