# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../libmilter/libmilter.conf # Copyright (C) 2010 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # 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 --- pkg_libmilter_preconf() { local ENVDEV="-DNETUNIX -DNETINET" sed -e "s:@@CFLAGS@@:${CFLAGS}:" \ -e "s:@@LDFLAGS@@:${LDFLAGS}:" \ -e "s:@@CC@@:${CC}:" \ -e "s:@@ENVDEF@@:${ENVDEF}:" \ "$confdir/site.config.m4.in" > "devtools/Site/site.config.m4" } hook_add preconf 5 'pkg_libmilter_preconf' # we only build libmilter hook_add premake 9 'pushd libmilter' var_append makeopt ' ' "MILTER_SOVER=$ver" var_append makeinstopt ' ' "MILTER_SOVER=$ver"