ports/136786: Update port: textproc/luaexpat to build on amd64
Andrew Lewis
freeghb at gmail.com
Wed Jul 15 12:10:02 UTC 2009
>Number: 136786
>Category: ports
>Synopsis: Update port: textproc/luaexpat to build on amd64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 15 12:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Andrew Lewis
>Release: 7.1-RELEASE-p6
>Organization:
Private
>Environment:
FreeBSD foo.bar 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #4: Wed Jun 24 14:25:56 UTC 2009 toor at foo.bar:/usr/obj/usr/src/sys/ADAMANTIUM71 i386
>Description:
Patch to make textproc/luaexpat build on amd64 (Thankyou Kelly Hayes!)
>How-To-Repeat:
textproc/luaexpat and net-im/prosody are marked ONLY_FOR_ARCHS=i386 and we are aiming to correct this
>Fix:
Patch attached.
Patch attached with submission follows:
diff -urN /usr/ports/textproc/luaexpat/Makefile /var/ports/textproc/luaexpat/Makefile
--- /usr/ports/textproc/luaexpat/Makefile 2009-07-14 01:36:52.000000000 -0500
+++ /var/ports/textproc/luaexpat/Makefile 2009-07-14 21:39:44.000000000 -0500
@@ -16,8 +16,6 @@
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
-ONLY_FOR_ARCHS= i386
-
MAKEFILE= makefile
ALL_TARGET= lib
USE_LUA= 5.0-5.1
diff -urN /usr/ports/textproc/luaexpat/files/patch-config /var/ports/textproc/luaexpat/files/patch-config
--- /usr/ports/textproc/luaexpat/files/patch-config 2009-07-14 01:02:55.000000000 -0500
+++ /var/ports/textproc/luaexpat/files/patch-config 2009-07-14 21:55:12.000000000 -0500
@@ -1,5 +1,5 @@
---- config.orig 2006-06-08 20:41:48.000000000 +0000
-+++ config 2009-07-03 03:00:20.000000000 +0000
+--- config.orig 2006-06-08 15:41:48.000000000 -0500
++++ config 2009-07-14 21:48:26.000000000 -0500
@@ -1,15 +1,15 @@
# Installation directories
# System's libraries directory (where binary libraries are installed)
@@ -30,3 +30,11 @@
# Compilation parameters
CWARNS = -Wall -pedantic \
+@@ -31,6 +31,6 @@
+ -Wshadow \
+ -Wwrite-strings
+
+-CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
++CFLAGS += $(CWARNS) -ansi -O2 -I$(LUA_INC) \
+ -I$(COMPAT_DIR) -I$(EXPAT_INC)
+ CC = gcc
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list