Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 22:32:13 +0200
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        freebsd-amd64@FreeBSD.org
Cc:        ozawa@ongs.co.jp
Subject:   build on amd64
Message-ID:  <20051019223213.16798c72.ehaupt@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
--Signature=_Wed__19_Oct_2005_22_32_13_+0200_Q/qEPaWdF5nJSVqf
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

Could someone with an amd64 machine confirm that the following patch
wont break ports/japanese/xdtp.

--- ports-japanese-xdtp.patch begins here ---
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/ports/japanese/xdtp/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	19 Oct 2005 19:12:52 -0000	1.3
+++ Makefile	19 Oct 2005 20:16:12 -0000
@@ -7,7 +7,7 @@
=20
 PORTNAME=3D	xdtp
 PORTVERSION=3D	1.0.1
-PORTREVISION=3D	1
+PORTREVISION=3D	2
 CATEGORIES=3D	japanese
 MASTER_SITES+=3D	http://www.ongs.co.jp/projects/xdtp/
 DISTNAME=3D	xdtp-${PORTVERSION}
@@ -18,6 +18,7 @@
=20
 LIB_DEPENDS=3D	glibmm-2.4:${PORTSDIR}/devel/glibmm
=20
+USE_REINPLACE=3D	yes
 INSTALLS_SHLIB=3D	yes
 USE_GCC=3D	3.4
 USE_GNOME=3D	libxml2 libxslt pkgconfig
@@ -27,8 +28,6 @@
 		DEBUG	"Build with debug option" off \
 		INCLUDE	"Install with XDTP include files" on
=20
-CFLAGS+=3D	-fPIC
-
 .include <bsd.port.pre.mk>
=20
 .if defined(WITH_GDK)
@@ -49,4 +48,8 @@
 PLIST_SUB+=3D	XDTP_INC=3D"@comment "
 .endif
=20
+post-patch:
+	@${REINPLACE_CMD} -e 's|\(CXXFLAGS}\)\(.*LIBTARGET\)|\1 -fPIC\2|' \
+		${WRKSRC}/src/Makefile
+
 .include <bsd.port.post.mk>
--- ports-japanese-xdtp.patch ends here ---

Thanks,
Emanuel

--=20
GnuPG key id: 0x55E67774         Download: http://pgp.mit.edu:11371
Key fingerprint: 17B3 FD8F BA68 4AB4 10FD  A9D1 AD52 6588 55E6 7774

--Signature=_Wed__19_Oct_2005_22_32_13_+0200_Q/qEPaWdF5nJSVqf
Content-Type: application/pgp-signature

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

iD8DBQFDVq1QrVJliFXmd3QRAqJrAKCkDEXSbZeGx1vVuzrpTl1B22XFmACgucSk
/S7y3sCGlPWjLqORRP6Wjrc=
=b59e
-----END PGP SIGNATURE-----

--Signature=_Wed__19_Oct_2005_22_32_13_+0200_Q/qEPaWdF5nJSVqf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051019223213.16798c72.ehaupt>