2010-12-06 12:50:35 +01:00
|
|
|
# $NetBSD: options.mk,v 1.3 2010/12/06 11:50:35 markd Exp $
|
2007-05-23 15:52:58 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.kdesdk
|
|
|
|
PKG_SUPPORTED_OPTIONS= svn
|
2008-04-13 00:42:57 +02:00
|
|
|
|
2007-05-23 15:52:58 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= svn
|
|
|
|
|
2007-05-23 15:52:58 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Msvn)
|
|
|
|
.include "../../devel/subversion-base/buildlink3.mk"
|
2010-12-06 12:50:35 +01:00
|
|
|
CONFIGURE_ARGS+= --with-subversion
|
|
|
|
CONFIGURE_ARGS+= --with-apr-config=${BUILDLINK_PREFIX.apr}/bin/apr-1-config
|
|
|
|
CONFIGURE_ARGS+= --with-apu-config=${BUILDLINK_PREFIX.apr}/bin/apu-1-config
|
2007-05-23 15:52:58 +02:00
|
|
|
CONFIGURE_ARGS+= --with-svn-include=${BUILDLINK_PREFIX.subversion-base}/include/subversion-1
|
|
|
|
CONFIGURE_ARGS+= --with-svn-lib=${BUILDLINK_PREFIX.subversion-base}/lib
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.svn= yes
|
2007-05-23 15:52:58 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-subversion
|
|
|
|
.endif
|