From 77b59a31c9ba9c70bc79ba4d0f36d40c3a582a66 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 22 Dec 2004 16:29:44 +0000 Subject: Erm, fix previous, I understood this wrongly before... Linux/SunOS doesn't need -lcompat. --- news/pan/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'news') diff --git a/news/pan/Makefile b/news/pan/Makefile index dd8081ca753..ab69d5a62c5 100644 --- a/news/pan/Makefile +++ b/news/pan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2004/12/22 16:19:37 xtraeme Exp $ +# $NetBSD: Makefile,v 1.38 2004/12/22 16:29:44 xtraeme Exp $ # DISTNAME= pan-0.14.2 @@ -19,8 +19,10 @@ USE_DIRS+= gnome2-1.5 USE_PKGLOCALEDIR= YES GNU_CONFIGURE= YES -LIBS.Linux+= -lcompat -LIBS.SunOS+= -lcompat +.include "../../mk/bsd.prefs.mk" +.if (${OPSYS} != "SunOS" && ${OPSYS} != "Linux") +LIBS+= -lcompat +.endif .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" -- cgit v1.2.3