Browse Source

kannel: improved package conf file to use pkgprefix -r

stable/0.2
Christian Wiese 14 years ago
parent
commit
3b15f3d3af
  1. 10
      network/kannel/kannel.conf

10
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

Loading…
Cancel
Save