diff options
author | joerg <joerg> | 2009-12-03 16:19:24 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-12-03 16:19:24 +0000 |
commit | 34ed0ee2140a229559fd8a7ff82ecf22c5f25bff (patch) | |
tree | c4cccda5e604cf777f61499b7ff060a86d1e693a /net/arping | |
parent | 5066ccec096945e5703cafe1f0d729784ac0c24a (diff) | |
download | pkgsrc-34ed0ee2140a229559fd8a7ff82ecf22c5f25bff.tar.gz |
Put libs after the source to ensure correct linkage.
Diffstat (limited to 'net/arping')
-rw-r--r-- | net/arping/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/arping/Makefile b/net/arping/Makefile index 4cec02cf1e1..961d18214cf 100644 --- a/net/arping/Makefile +++ b/net/arping/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2009/07/07 19:53:00 sno Exp $ +# $NetBSD: Makefile,v 1.15 2009/12/03 16:19:24 joerg Exp $ # DISTNAME= arping-2.08 @@ -18,7 +18,8 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 CPPFLAGS+= -I${LOCALBASE}/include/libnet11 do-build: - cd ${WRKSRC} && cc ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -o arping arping-2/arping.c + ${CC} -o ${WRKSRC}/arping ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \ + ${WRKSRC}/arping-2/arping.c ${LIBS} do-install: ${INSTALL_MAN} ${WRKSRC}/arping.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 |