From 69dab7c470dcec043c1a6b04094a82b3f0408ba0 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 23 Jun 2012 23:07:20 +0000 Subject: Honor pkgsrc LIBS. --- security/arirang/Makefile | 3 ++- security/arirang/distinfo | 3 ++- security/arirang/patches/patch-Makefile | 13 +++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 security/arirang/patches/patch-Makefile diff --git a/security/arirang/Makefile b/security/arirang/Makefile index 522b3840260..d02048f0da2 100644 --- a/security/arirang/Makefile +++ b/security/arirang/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2012/06/01 00:17:09 dholland Exp $ +# $NetBSD: Makefile,v 1.15 2012/06/23 23:07:20 dholland Exp $ # DISTNAME= arirang-1.6 @@ -15,6 +15,7 @@ PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= sbin share/arirang LIBS.SunOS+= -lsocket -lnsl +MAKE_ENV+= LIBS=${LIBS:Q} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/arirang ${DESTDIR}${PREFIX}/sbin diff --git a/security/arirang/distinfo b/security/arirang/distinfo index 29540dffa57..e7cbedb3af5 100644 --- a/security/arirang/distinfo +++ b/security/arirang/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2005/11/03 16:52:09 tv Exp $ +$NetBSD: distinfo,v 1.5 2012/06/23 23:07:20 dholland Exp $ SHA1 (arirang-1.6.tar.gz) = 8f2a658d387830f25106dc21f05a5f54ae4b9964 RMD160 (arirang-1.6.tar.gz) = 4c3f8262d4592a8bb9b4b9693336c1c078fd3b83 Size (arirang-1.6.tar.gz) = 54170 bytes +SHA1 (patch-Makefile) = 28c47ff5a915e2abb1e99d027e0af6938fe0bc75 SHA1 (patch-aa) = 2205992fdb39583e2dca69aeaa59d149b973cc62 diff --git a/security/arirang/patches/patch-Makefile b/security/arirang/patches/patch-Makefile new file mode 100644 index 00000000000..6266d9d79e4 --- /dev/null +++ b/security/arirang/patches/patch-Makefile @@ -0,0 +1,13 @@ +$NetBSD: patch-Makefile,v 1.1 2012/06/23 23:07:20 dholland Exp $ + +--- Makefile~ 2002-07-21 06:53:48.000000000 +0000 ++++ Makefile +@@ -9,7 +9,7 @@ OBJS= $(SRCS:.c=.o) + $(CC) $(CFLAGS) -c $< + + $(TARGET) : $(OBJS) +- $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) ++ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS) + + + clean: -- cgit v1.2.3