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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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
===================================================================
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 @@
 
 PORTNAME=	xdtp
 PORTVERSION=	1.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	japanese
 MASTER_SITES+=	http://www.ongs.co.jp/projects/xdtp/
 DISTNAME=	xdtp-${PORTVERSION}
@@ -18,6 +18,7 @@
 
 LIB_DEPENDS=	glibmm-2.4:${PORTSDIR}/devel/glibmm
 
+USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
 USE_GCC=	3.4
 USE_GNOME=	libxml2 libxslt pkgconfig
@@ -27,8 +28,6 @@
 		DEBUG	"Build with debug option" off \
 		INCLUDE	"Install with XDTP include files" on
 
-CFLAGS+=	-fPIC
-
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_GDK)
@@ -49,4 +48,8 @@
 PLIST_SUB+=	XDTP_INC="@comment "
 .endif
 
+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

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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDVq1QrVJliFXmd3QRAqJrAKCkDEXSbZeGx1vVuzrpTl1B22XFmACgucSk
/S7y3sCGlPWjLqORRP6Wjrc=
=b59e
-----END PGP SIGNATURE-----
home | help

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