summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-06-23 23:07:20 +0000
committerdholland <dholland@pkgsrc.org>2012-06-23 23:07:20 +0000
commit69dab7c470dcec043c1a6b04094a82b3f0408ba0 (patch)
treefa447d969f043a5a8efce3fa5131378a3e1f77ca
parent43ae231981cb3eb0145c1bc9f2596a17c31d259e (diff)
downloadpkgsrc-69dab7c470dcec043c1a6b04094a82b3f0408ba0.tar.gz
Honor pkgsrc LIBS.
-rw-r--r--security/arirang/Makefile3
-rw-r--r--security/arirang/distinfo3
-rw-r--r--security/arirang/patches/patch-Makefile13
3 files changed, 17 insertions, 2 deletions
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: