1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

o Add OPTIONS knobs: DEBUG which defaults to on

o If you disable DEBUG; duh, no debug support is built
o No PORTREVISION bump since this maintains the current port state
  (DEBUG defaults to on)

PR:		67678
Submitted by:	michael johnson <ahze@ahze.net>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2004-06-26 03:05:57 +00:00
parent 46ececfbbb
commit 450c885cbe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112293

View File

@ -27,8 +27,14 @@ USE_SIZE= yes
INSTALL_SHLIBS= yes
PKGDEINSTALL= ${PKGINSTALL}
OPTIONS= DEBUG "Turn on debugging" on
.include <bsd.port.pre.mk>
.ifndef(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug=no
.endif
.if ${ARCH} == "sparc64"
BROKEN= "Does not build on sparc64"
.endif