summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-12-22 16:29:44 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-12-22 16:29:44 +0000
commit77b59a31c9ba9c70bc79ba4d0f36d40c3a582a66 (patch)
treec413f1ef9a372ddfdc112b686f9159e9f5c233ce /news
parente0461857a65c53f55a686746203bf320a142b6c1 (diff)
downloadpkgsrc-77b59a31c9ba9c70bc79ba4d0f36d40c3a582a66.tar.gz
Erm, fix previous, I understood this wrongly before... Linux/SunOS doesn't
need -lcompat.
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"