|
|
|
@ -20,6 +20,9 @@ |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
# use system wide neon |
|
|
|
pkginstalled neon && var_append extraconfopt " " "--with-neon=$root/usr" |
|
|
|
|
|
|
|
if [ "$xpkg" = subversion-static ] |
|
|
|
then |
|
|
|
# this is the subversion-static package |
|
|
|
@ -43,22 +46,20 @@ then |
|
|
|
var_append extraconfopt " " "--enable-all-static" |
|
|
|
hook_add postmake 3 svn_static_pm |
|
|
|
else |
|
|
|
# use the apache prefix |
|
|
|
. $base/package/*/apache/apache.conf |
|
|
|
|
|
|
|
# all this is to build the apache server-side module |
|
|
|
# and to make sure no locally included APR stuff get's installed |
|
|
|
# as well as no modification to httpd.conf is done ... |
|
|
|
if pkginstalled apache; then |
|
|
|
var_append extraconfopt " " "--with-apxs=/$prefix/sbin/apxs \ |
|
|
|
--with-apr=/$prefix/bin/apr-config --with-apr-util=/$prefix \ |
|
|
|
--disable-mod-activation" |
|
|
|
# --with-berkeley-db=/usr/include/db40:/usr/lib |
|
|
|
apacheprefix=${ROCKCFG_PKG_APACHE_PREFIX:-opt/apache} |
|
|
|
var_append extraconfopt " " "--with-apxs=/$apacheprefix/sbin/apxs \ |
|
|
|
--with-apr=/$apacheprefix/bin/apr-config --with-apr-util=/$apacheprefix \ |
|
|
|
--disable-mod-activation" |
|
|
|
if [ "$ROCKCFG_PKG_APACHE_BDB" ] ; then |
|
|
|
var_append extraconfopt " " \ |
|
|
|
"--with-berkeley-db=/usr/include/${ROCKCFG_PKG_APACHE_BDB#b}:/usr/lib" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
# use system wide neon |
|
|
|
var_append extraconfopt " " "--with-neon=$root/usr" |
|
|
|
|
|
|
|
# build and install perl bindings |
|
|
|
svn_inst_pl() { |
|
|
|
make swig-pl-lib |
|
|
|
@ -89,5 +90,17 @@ EOF |
|
|
|
pkginstalled swig && [ -n "$( type -p python )" ] && hook_add postmake 5 "svn_inst_py" |
|
|
|
|
|
|
|
hook_add postmake 5 "svn_inst_profile" |
|
|
|
|
|
|
|
if pkginstalled apache ; then |
|
|
|
splitdesc_apache() { |
|
|
|
desc_I="Apache module for subversion" |
|
|
|
} |
|
|
|
splitreg 50 apache ${apacheprefix}.*mod_.*so |
|
|
|
fi |
|
|
|
splitdesc_server() { |
|
|
|
desc_I="$desc_I (server binaries)" |
|
|
|
} |
|
|
|
splitreg 51 server /svn[^.]\+[^th]$ |
|
|
|
splitreg 52 server rc\.d |
|
|
|
fi |
|
|
|
|