diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-07-14 06:30:55 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-07-14 06:30:55 +0000 |
commit | c5dc3e5e482adc32fe7330ede81059c0dbdc524f (patch) | |
tree | c1aa6b1c9fbec8bb35d22160e59b2e5299919fd4 /net-im/prosody/files/patch-configure | |
parent | LuaSec is a binding for OpenSSL library to provide TLS/SSL communication. This (diff) |
Prosody is a flexible communications server for Jabber/XMPP written in Lua. It
aims to be easy to use, and light on resources. For developers it aims to be
easy to extend and give a flexible system on which to rapidly develop added
functionality, or prototype new protocols.
WWW: http://www.prosody.im/
PR: ports/136267
Submitted by: Andrew Lewis <dru at silenceisdefeat.net>
Notes
Notes:
svn path=/head/; revision=237759
Diffstat (limited to 'net-im/prosody/files/patch-configure')
-rw-r--r-- | net-im/prosody/files/patch-configure | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-im/prosody/files/patch-configure b/net-im/prosody/files/patch-configure new file mode 100644 index 000000000000..ab8b1551a599 --- /dev/null +++ b/net-im/prosody/files/patch-configure @@ -0,0 +1,42 @@ +--- orig.configure 2009-06-12 14:35:23.000000000 +0000 ++++ configure 2009-06-25 19:03:24.000000000 +0000 +@@ -5,11 +5,11 @@ + PREFIX=/usr/local + SYSCONFDIR="$PREFIX/etc/prosody" + DATADIR="$PREFIX/var/lib/prosody" +-LUA_SUFFIX="" ++#LUA_SUFFIX="" + LUA_DIR="/usr" + LUA_BINDIR="/usr/bin" +-LUA_INCDIR="/usr/include" +-LUA_LIBDIR="/usr/lib" ++#LUA_INCDIR="/usr/include" ++#LUA_LIBDIR="/usr/lib" + IDN_LIB=idn + OPENSSL_LIB=crypto + CC=gcc +@@ -26,7 +26,7 @@ + + --help This help. + --ostype=OS Use one of the OS presets. +- May be one of: debian, macosx ++ May be one of: debian, macosx, freebsd + --prefix=DIR Prefix where Prosody should be installed. + Default is $PREFIX + --sysconfdir=DIR Location where the config file should be installed. +@@ -150,6 +150,15 @@ + CFLAGS="-Wall" + LFLAGS="-bundle -undefined dynamic_lookup" + fi ++ if [ "$OSTYPE" = "freebsd" ] ++ then ++ LUA_INCDIR_SET=yes ++ LUA_LIBDIR_SET=yes ++ CFLAGS="-D_POSIX_SOURCE -I${LOCALBASE}/include" ++ LFLAGS="-lm -shared -L${LOCALBASE}/lib" ++ LUA_SUFFIX_SET=yes ++ LUA_LIB=lua ++ fi + fi + + if [ "$PREFIX_SET" = "yes" -a ! "$SYSCONFDIR_SET" = "yes" ] |