pkgsrc/mail/freepops/patches/patch-aa
schmonz 642920ddff Update to 0.2.8. From the changelog:
* Many changes for developers, and many fixes
* Added gettext support (thanks blackmoon)
* Added support to Windows Event Logging (lwel module) and smart
    logging facility (smartlog module)
* CURL library bindings revamped to version 7.18.1 to help the
    development of the hotmail plugin
* MacOSX startup script fixed, thanks nx2000car
* Too many fixes in plugins to be listed, thanks to all contributors
2008-11-02 20:51:40 +00:00

28 lines
477 B
Text

$NetBSD: patch-aa,v 1.4 2008/11/02 20:51:40 schmonz Exp $
--- configure.sh.orig 2008-08-27 09:11:14.000000000 -0400
+++ configure.sh
@@ -76,6 +76,13 @@ LUAFLAGS=${LUAFLAGS:-""}
OSX_SDK=${OSX_SDK:-""}
}
+set_pkgsrc() {
+set_default
+OS=${OPSYS}-pkgsrc
+WHERE=${PREFIX}/
+CFLAGS="${CFLAGS} -Wall -DHAVE_CONFIG_H -I$PWD"
+}
+
set_linux() {
set_default
OS=Linux
@@ -255,6 +262,9 @@ case $1 in
usage
exit 1
;;
+ pkgsrc)
+ set_pkgsrc
+ ;;
linux)
set_linux
;;