summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/pan/Makefile8
1 files changed, 5 insertions, 3 deletions
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"