Add a maintainer_mode flavour which displays file and line-number information
for errors thrown from Subversion. This doesn't need to be built by default. It can provide some leads when debugging Subversion problems on OpenBSD.
This commit is contained in:
parent
c8935d2093
commit
b3fd891374
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.102 2011/12/07 16:47:37 stsp Exp $
|
||||
# $OpenBSD: Makefile,v 1.103 2011/12/23 10:34:36 stsp Exp $
|
||||
|
||||
COMMENT-main= subversion revision control system
|
||||
COMMENT-perl= perl interface to subversion
|
||||
@ -42,7 +42,7 @@ MASTER_SITES= ${MASTER_SITE_APACHE:=subversion/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
PSEUDO_FLAVORS= no_bindings no_ap2 no_perl no_python no_ruby
|
||||
FLAVORS= gnome_keyring
|
||||
FLAVORS= gnome_keyring maintainer_mode
|
||||
FLAVOR?=
|
||||
.if ${FLAVOR:Mno_bindings}
|
||||
FLAVOR += no_perl no_python no_ruby
|
||||
@ -151,6 +151,13 @@ CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
||||
--without-jdk \
|
||||
--with-libmagic=${LOCALBASE}
|
||||
|
||||
# Maintainer mode shows files and line numbers for every error raised
|
||||
# by Subversion. It is useful for debugging problems with Subversion
|
||||
# but is not required for normal operation.
|
||||
.if ${FLAVOR:Mmaintainer_mode}
|
||||
CONFIGURE_ARGS+=--enable-maintainer-mode
|
||||
.endif
|
||||
|
||||
.include <bsd.port.arch.mk>
|
||||
|
||||
.if ${BUILD_PACKAGES:M-ruby} || ${BUILD_PACKAGES:M-perl} || ${BUILD_PACKAGES:M-python}
|
||||
|
Loading…
x
Reference in New Issue
Block a user