From a5c7514fcc5927af2d97455cadf525e5a0100e38 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 21 Mar 2015 19:25:21 +0000 Subject: Fix build under Solaris 10. --- security/libgpg-error/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'security/libgpg-error') diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile index ff4a6f03be8..1a3f737b38f 100644 --- a/security/libgpg-error/Makefile +++ b/security/libgpg-error/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2015/02/01 19:49:38 wiz Exp $ +# $NetBSD: Makefile,v 1.46 2015/03/21 19:25:21 tron Exp $ DISTNAME= libgpg-error-1.18 CATEGORIES= security @@ -37,6 +37,10 @@ USE_TOOLS+= awk USE_TOOLS+= gawk .endif +.if !empty(MACHINE_PLATFORM:MSunOS-5.10-*) +LIBS+= -lrt +.endif + # On Dragonfly i386, Pkgsrc libintl segfaults on bindtextdomain function # while locking a thread. Until that's resolved, stop libgpg-error from # using NLS which invokes that function during initialization. -- cgit v1.2.3