diff --git a/network/kannel/kannel.conf b/network/kannel/kannel.conf index 44a31c198..c31ad399a 100644 --- a/network/kannel/kannel.conf +++ b/network/kannel/kannel.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../kannel/kannel.conf -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2011 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -20,7 +20,7 @@ set_confopt if pkginstalled openssl; then pkgprefix -t openssl var_append confopt " " "--enable-ssl" - var_append confopt " " "--with-ssl=$root/$( pkgprefix openssl )" + var_append confopt " " "--with-ssl=$( pkgprefix -r openssl )" fi # sqlite support @@ -30,8 +30,8 @@ pkginstalled sqlite && var_append confopt " " "--with-sqlite3" if pkginstalled mysql; then pkgprefix -t mysql var_append confopt " " "--with-mysql" - var_append confopt " " "--with-mysql-dir=$root/$( pkgprefix mysql )" - var_append CFLAGS " " "-I$root$( pkgprefix includedir mysql )" + var_append confopt " " "--with-mysql-dir=$( pkgprefix -r mysql )" + var_append CFLAGS " " "-I$( pkgprefix -r includedir mysql )" export CFLAGS fi @@ -39,6 +39,6 @@ fi if pkginstalled postgresql; then pkgprefix -t postgresql var_append confopt " " "--with-pgsql" - var_append confopt " " "--with-pgsql-dir=$root/$( pkgprefix postgresql )" + var_append confopt " " "--with-pgsql-dir=$( pkgprefix -r postgresql )" fi