ports/82825: update www/clearsilver to compile on other than i386 + upgrade
Vivek Khera
vivek at khera.org
Thu Jun 30 15:20:17 UTC 2005
>Number: 82825
>Category: ports
>Synopsis: update www/clearsilver to compile on other than i386 + upgrade
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 30 15:20:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vivek Khera
>Release: FreeBSD 5.4-STABLE amd64
>Organization:
>Environment:
System: FreeBSD yertle.int.kciLink.com 5.4-STABLE FreeBSD 5.4-STABLE #7: Tue May 31 11:38:22 EDT 2005 khera at yertle.int.kciLink.com:/usr/obj/usr/src/sys/YERTLE amd64
>Description:
ports/www/clearsilver has a build error which tries to use static objects
to make a shared library. the quick fix as described in
http://groups.yahoo.com/group/ClearSilver/message/358
is to just add -FPIC to the CFLAGS. This patch does this and the compile
works for amd64. Also, this updates the library to the latest release which
came out last march.
>How-To-Repeat:
>Fix:
i'm not sure how to make patch create a new directory. this needs a "files"
directory to exist and will create the patch-rules.mk.in file in there.
--- Makefile.orig Thu Jun 30 10:48:00 2005
+++ Makefile Thu Jun 30 10:48:42 2005
@@ -7,8 +7,8 @@
#
PORTNAME= clearsilver
-PORTVERSION= 0.9.13
-PORTREVISION= 1
+PORTVERSION= 0.9.14
+#PORTREVISION= 0
CATEGORIES= www
MASTER_SITES= http://www.clearsilver.net/downloads/
@@ -63,14 +63,6 @@
skipRelease.3 skipSearch.3 wdb_keys.3
.include <bsd.port.pre.mk>
-
-.if ${ARCH} != "i386"
-BROKEN= "Does not compile on !i386"
-.endif
-
-.if ${ARCH} == "amd64"
-BROKEN= "Does not compile on amd64 (missing -fPIC from shared libraries)"
-.endif
post-patch:
@# Remove CFLAGS when building the python module, pydistfile is used
--- /dev/null Thu Jun 30 11:07:19 2005
+++ files/patch-rules.mk.in Thu Jun 30 11:06:01 2005
@@ -0,0 +1,11 @@
+--- #rules.mk.in~ Thu Jun 30 11:05:01 2005
++++ rules.mk.in Thu Jun 30 11:05:01 2005
+@@ -73,7 +73,7 @@
+ PERL = @PERL@
+ RUBY = @RUBY@
+
+-CFLAGS = @CFLAGS@ -Wall -I$(NEOTONIC_ROOT) @CPPFLAGS@
++CFLAGS = @CFLAGS@ -fPIC -Wall -I$(NEOTONIC_ROOT) @CPPFLAGS@
+ CPPFLAGS = -I$(NEOTONIC_ROOT) @CPPFLAGS@
+ OUTPUT_OPTION = -o $@
+ LD = $(CC) -o
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list