pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/mtr Fix build under Mac OS X Snow Leopard.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cfc728f94cb
branches:  trunk
changeset: 564917:1cfc728f94cb
user:      tron <tron%pkgsrc.org@localhost>
date:      Sat Sep 12 22:07:56 2009 +0000

description:
Fix build under Mac OS X Snow Leopard.

diffstat:

 net/mtr/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 3b8165f72d49 -r 1cfc728f94cb net/mtr/Makefile
--- a/net/mtr/Makefile  Sat Sep 12 21:56:56 2009 +0000
+++ b/net/mtr/Makefile  Sat Sep 12 22:07:56 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2009/08/26 19:58:45 sno Exp $
+# $NetBSD: Makefile,v 1.56 2009/09/12 22:07:56 tron Exp $
 
 DISTNAME=      mtr-0.75
 CATEGORIES=    net
@@ -31,6 +31,10 @@
 BUILDLINK_TRANSFORM+=  rm:-Wno-pointer-sign
 .endif
 
+.if !empty(MACHINE_PLATFORM:MDarwin-??.*-*)
+LIBS+= -lresolv
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/mtr ${DESTDIR}${PREFIX}/sbin
        ${INSTALL_DATA} ${WRKSRC}/mtr.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8



Home | Main Index | Thread Index | Old Index