FreeBSD Bugzilla – Attachment 200154 Details for
Bug 234061
net-im/prosody: fix build with GCC-based architectures, respect CFLAGS and LDFLAGS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
prosody.patch (text/plain), 1.29 KB, created by
Piotr Kubaj
on 2018-12-16 15:18:27 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-12-16 15:18:27 UTC
Size:
1.29 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 487458) >+++ Makefile (working copy) >@@ -20,8 +20,7 @@ > ${LUA_MODLIBDIR}/bit.so:devel/lua51-bitop > LIB_DEPENDS= libidn.so:dns/libidn > >-USES= cpe gmake lua:51 shebangfix ssl >-USE_CSTD= c99 >+USES= compiler:c11 cpe gmake lua:51 shebangfix ssl > SHEBANG_FILES= prosody prosodyctl > LUA_PREMK= yes > HAS_CONFIGURE= yes >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 487458) >+++ files/patch-configure (working copy) >@@ -1,4 +1,4 @@ >---- configure.orig 2017-09-28 13:07:47 UTC >+--- configure.orig 2018-05-30 22:10:09 UTC > +++ configure > @@ -16,10 +16,10 @@ LUA_LIBDIR="/usr/lib" > IDN_LIB="idn" >@@ -14,3 +14,14 @@ > PRNG= > PRNGLIBS= > >+@@ -202,8 +202,8 @@ do >+ if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ]; then >+ LUA_INCDIR="/usr/local/include/lua51" >+ LUA_INCDIR_SET=yes >+- CFLAGS="-Wall -fPIC -I/usr/local/include" >+- LDFLAGS="-I/usr/local/include -L/usr/local/lib -shared" >++ CFLAGS+="-Wall -fPIC -I/usr/local/include" >++ LDFLAGS+="-I/usr/local/include -L/usr/local/lib -shared" >+ LUA_SUFFIX="51" >+ LUA_SUFFIX_SET=yes >+ LUA_DIR=/usr/local
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234061
: 200154 |
200242