From 30907f69555103b006e442c7043d869b23572539 Mon Sep 17 00:00:00 2001
From: shaun <shaun@FreeBSD.org>
Date: Mon, 7 Aug 2006 18:14:23 +0000
Subject: - Add missing locale files to plist. [1] - Fix build on sparc64. [2]

PR:		ports/101504 [1]
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru> [1], shaun (me) [2]
Approved by:	maintainer
---
 palm/coldsync/Makefile  | 7 +++----
 palm/coldsync/pkg-plist | 2 ++
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/palm/coldsync/Makefile b/palm/coldsync/Makefile
index 3b8add578164..898176efaedb 100644
--- a/palm/coldsync/Makefile
+++ b/palm/coldsync/Makefile
@@ -46,10 +46,6 @@ INFO=		conduits
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "sparc64"
-BROKEN=		"Fails to link on sparc64"
-.endif
-
 CFLAGS+=	-D__BSD_VISIBLE=1
 CONFIGURE_ARGS+=	--with-i18n --disable-pedantic --without-perl
 
@@ -64,6 +60,9 @@ post-patch:
 .endif
 .endif
 
+post-configure:
+	${REINPLACE_CMD} -e 's,-fpic,-fPIC,g' ${WRKSRC}/Make.rules
+
 post-install:
 	${MKDIR} ${PREFIX}/include/pconn
 	${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/
diff --git a/palm/coldsync/pkg-plist b/palm/coldsync/pkg-plist
index 017db0e040ba..59bf47f8968a 100644
--- a/palm/coldsync/pkg-plist
+++ b/palm/coldsync/pkg-plist
@@ -26,3 +26,5 @@ include/pconn/netsync.h
 include/pconn/PConnection.h
 include/pconn/spc_client.h
 @dirrm include/pconn
+@dirrmtry share/locale/cs/LC_MESSAGES
+@dirrmtry share/locale/cs
-- 
cgit