ports/82825: update www/clearsilver to compile on other than i386 + upgrade
Tobias Roth
ports at fsck.ch
Sat Jul 30 22:50:26 UTC 2005
The following reply was made to PR ports/82825; it has been noted by GNATS.
From: Tobias Roth <ports at fsck.ch>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/82825: update www/clearsilver to compile on other than
i386 + upgrade
Date: Sun, 31 Jul 2005 00:43:02 +0200
- beautify above patch a little bit. fixes build and updates to 0.9.14
- take maintainership as discussed on irc
- submitter and original maintainer have been notified
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- clearsilver-0.9.14.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/clearsilver/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile 26 Mar 2005 21:37:52 -0000 1.7
+++ Makefile 30 Jul 2005 22:36:39 -0000
@@ -7,12 +7,12 @@
#
PORTNAME= clearsilver
-PORTVERSION= 0.9.13
-PORTREVISION= 1
+PORTVERSION= 0.9.14
CATEGORIES= www
-MASTER_SITES= http://www.clearsilver.net/downloads/
+MASTER_SITES= http://www.clearsilver.net/downloads/ \
+ http://depot.fsck.ch/mirror/distfiles/
-MAINTAINER= thinker at branda.to
+MAINTAINER= ports at fsck.ch
COMMENT= A fast, powerful, and language-neutral template system
GNU_CONFIGURE= yes
@@ -64,19 +64,13 @@
.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 li braries)" -.endif
-
post-patch:
@# Remove CFLAGS when building the python module, pydistfile is
used @# and will do the right thing.
@${REINPLACE_CMD} -E 's,(\$$\(PYTHON\)),CFLAGS="" \1,g'
${WRKSRC}/python /Makefile
- @# Avoid rebuiling man pages
+ @# insert -fPIC into CFLAGS to fix non-i386 builds
+ @${REINPLACE_CMD} -e 's|= @CFLAGS@|= @CFLAGS@ -fPIC|g'
${WRKSRC}/rules.m k.in
+ @# Avoid rebuilding man pages
@${REINPLACE_CMD} -e 's,all man,all,g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|`$$python_bin -c "import site; print
site.sitedi rs\[0\]"`|"${PYTHON_SITELIBDIR}"|'
${WRKSRC}/configure Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/clearsilver/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo 28 Dec 2004 17:49:15 -0000 1.2
+++ distinfo 30 Jul 2005 22:36:39 -0000
@@ -1,2 +1,2 @@
-MD5 (clearsilver-0.9.13.tar.gz) = 6f4946d92eca41e17c9fc0373aee096a
-SIZE (clearsilver-0.9.13.tar.gz) = 365908
+MD5 (clearsilver-0.9.14.tar.gz) = 2161936b7828e8cbdc4f45812d15e3f6
+SIZE (clearsilver-0.9.14.tar.gz) = 366041
--- clearsilver-0.9.14.patch ends here ---
More information about the freebsd-ports-bugs
mailing list