ports/185815: [patch] net-im/prosody : fix on 10.0+
Nikolai Lifanov
lifanov at mail.lifanov.com
Thu Jan 16 01:20:00 UTC 2014
>Number: 185815
>Category: ports
>Synopsis: [patch] net-im/prosody : fix on 10.0+
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 16 01:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Nikolai Lifanov
>Release: FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD mail.lifanov.com 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Prosody configure script hardcodes and leaves CC=gcc.
This breaks build on FreeBSD 10.0+ on default, where gcc is removed.
Please apply this patch. It fixes the build by setting CC=cc,
which according to Redports doesn't break the build on any supported
release, but fixes the build on 10.0+.
>How-To-Repeat:
See the attached patch.
>Fix:
--- patch.txt begins here ---
--- net-im/prosody/files/patch-configure (revision 339798)
+++ net-im/prosody/files/patch-configure (working copy)
@@ -1,5 +1,5 @@
---- ./configure.orig 2011-04-05 15:47:05.000000000 +0200
-+++ ./configure 2011-04-10 18:09:24.000000000 +0200
+--- configure.orig 2011-06-12 17:21:39.000000000 -0400
++++ configure 2014-01-15 19:50:30.923408762 -0500
@@ -2,7 +2,6 @@
# Defaults
@@ -8,3 +8,12 @@
SYSCONFDIR="$PREFIX/etc/prosody"
DATADIR="$PREFIX/var/lib/prosody"
LUA_SUFFIX=""
+@@ -121,6 +120,8 @@
+ LUA_SUFFIX_SET=yes
+ LUA_DIR=/usr/local
+ LUA_DIR_SET=yes
++ CC=cc
++ LD=cc
+ fi
+ ;;
+ --datadir=*)
--- patch.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list