pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/news/slrn Convert to buildlink3 and use LDFLAGS.Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41f538bbe614
branches:  trunk
changeset: 472625:41f538bbe614
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Apr 11 17:51:20 2004 +0000

description:
Convert to buildlink3 and use LDFLAGS.Linux.

diffstat:

 news/slrn/Makefile |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (32 lines):

diff -r 292e36611a5d -r 41f538bbe614 news/slrn/Makefile
--- a/news/slrn/Makefile        Sun Apr 11 17:45:52 2004 +0000
+++ b/news/slrn/Makefile        Sun Apr 11 17:51:20 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2003/10/27 21:48:27 cube Exp $
+# $NetBSD: Makefile,v 1.30 2004/04/11 17:51:20 snj Exp $
 #
 
 DISTNAME=      slrn-0.9.8.0
@@ -15,7 +15,7 @@
 HOMEPAGE=      http://slrn.sourceforge.net/
 COMMENT=       Highly customizable threaded newsreader
 
-USE_BUILDLINK2=                yes
+USE_BUILDLINK3=                yes
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=--disable-inews --with-slrnpull --enable-spool \
@@ -31,10 +31,8 @@
 CONFIGURE_ENV+=        INSTALL=/usr/bin/install
 .endif
 
-.if ${OPSYS} == "Linux"
-LDFLAGS+=      -ldl
-.endif
+LDFLAGS.Linux+=        -ldl
 
-.include "../../devel/libslang/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/libslang/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index