diff options
author | tron <tron> | 2009-09-12 22:07:56 +0000 |
---|---|---|
committer | tron <tron> | 2009-09-12 22:07:56 +0000 |
commit | c77b2f900354fd932d6bc4c0352e45c7ad2057ca (patch) | |
tree | 104f4a71ff540eee944bed4a239a348e77ac2971 /net/mtr | |
parent | 2859985d9bc6ef39f894995740ca74c125a06420 (diff) | |
download | pkgsrc-c77b2f900354fd932d6bc4c0352e45c7ad2057ca.tar.gz |
Fix build under Mac OS X Snow Leopard.
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile index 375dadfb264..4d626d0fd68 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -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 @@ SPECIAL_PERMS= sbin/mtr ${SETUID_ROOT_PERMS} 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 |