pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/news/pan Erm, fix previous, I understood this wrongly ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1799211ec826
branches:  trunk
changeset: 486091:1799211ec826
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Dec 22 16:29:44 2004 +0000

description:
Erm, fix previous, I understood this wrongly before... Linux/SunOS doesn't
need -lcompat.

diffstat:

 news/pan/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 1e4a1f230f56 -r 1799211ec826 news/pan/Makefile
--- a/news/pan/Makefile Wed Dec 22 16:24:13 2004 +0000
+++ b/news/pan/Makefile Wed Dec 22 16:29:44 2004 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index