From b107e5fcd9630727f26cb630e20e5f427ae87ce6 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 20 May 2011 16:22:11 +0200 Subject: [PATCH] mod_perl: fixed to not use an hardcoded path to apxs --- perl/mod_perl/mod_perl.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl/mod_perl/mod_perl.conf b/perl/mod_perl/mod_perl.conf index da6920cfe..420b35fe8 100644 --- a/perl/mod_perl/mod_perl.conf +++ b/perl/mod_perl/mod_perl.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../mod_perl/mod_perl.conf +# Copyright (C) 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -11,4 +12,8 @@ # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -plconfopt="MP_APXS=$root/opt/apache/sbin/apxs" + +# we depend on apache +pkgprefix -t apache + +plconfopt="MP_APXS=$( pkgprefix -r sbindir apache)/apxs"