about graphics/libcaca on amd64

Jose Alonso Cardenas Marquez acm at FreeBSD.org
Fri Aug 11 22:52:07 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi :)

I fixed some problems with graphics/crystalspace on amd64. It include
some tiny modifications on graphics/libcaca (crystalspace dependency).
I'm sending you this patch that I applied on graphics/libcaca. With it
i compiled crystalspace without problems.

http://tb3.droso.net/logs/6-acm/libcaca-0.9_4.log
http://tb3.droso.net/logs/6-acm/crystalspace-0.99_4.log

Greetings
- ----
Jose Alonso Cardenas Marquez	|	http://www.FreeBSD.org
acm at FreeBSD.org			|	http://www.BSD.org.pe
GnuPG Key: http://www.FreeBSD.org/~acm/pgp/pubkey.asc


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE3QoSGV/UqJshvBkRAsUHAKChWibb/ZYeYOVY4rzPWo8H6E5AcQCdH6CX
OfidQCoWJINjVcvlhdO8R+0=
=UzDN
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/libcaca/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	9 Jun 2006 18:59:20 -0000	1.11
+++ Makefile	11 Aug 2006 22:31:03 -0000
@@ -6,7 +6,7 @@
 
 PORTNAME=	libcaca
 PORTVERSION=	0.9
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 MASTER_SITES=	http://sam.zoy.org/projects/libcaca/
 
@@ -34,6 +34,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+=	-fPIC -DPIC
+.endif
+
 .if defined(WITH_SLANG) || exists(${LOCALBASE}/lib/libslang.so)
 LIB_DEPENDS+=		slang.1:${PORTSDIR}/devel/libslang
 CONFIGURE_ARGS+=	--enable-slang


More information about the freebsd-multimedia mailing list