aboutsummaryrefslogtreecommitdiff
path: root/deskutils/buoh
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-12-12 06:40:22 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-12-12 06:40:22 +0000
commit8cf89fc4eafb094cb37d2056488f42a9e83a9aa7 (patch)
treed0db9885bec6d0d01d6b365c4c70dd765a27adba /deskutils/buoh
parent1a9441131ad624f4483d8fcd03596ca3b9cc86a3 (diff)
downloadports-8cf89fc4eafb094cb37d2056488f42a9e83a9aa7.tar.gz
ports-8cf89fc4eafb094cb37d2056488f42a9e83a9aa7.zip
Notes
Diffstat (limited to 'deskutils/buoh')
-rw-r--r--deskutils/buoh/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/deskutils/buoh/Makefile b/deskutils/buoh/Makefile
index df48a09340b6..63de6b9a7c5d 100644
--- a/deskutils/buoh/Makefile
+++ b/deskutils/buoh/Makefile
@@ -25,6 +25,19 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
GCONF_SCHEMAS= buoh.schemas
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+CFLAGS+= -g
+STRIP=
+.endif
+
+pre-everything::
+.if !defined(WITH_DEBUG)
+ @${ECHO_MSG} "You may specify the following on the command line:"
+ @${ECHO_MSG} " "
+ @${ECHO_MSG} "WITH_DEBUG=yes to enable debugging in Buoh."
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${X11BASE}/share/applications|g' \
${WRKSRC}/data/Makefile.in