pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/arping Put libs after the source to ensure correct...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00da6609dd1f
branches:  trunk
changeset: 568082:00da6609dd1f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 03 16:19:24 2009 +0000

description:
Put libs after the source to ensure correct linkage.

diffstat:

 net/arping/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 707c7c6a3db2 -r 00da6609dd1f net/arping/Makefile
--- a/net/arping/Makefile       Thu Dec 03 15:22:39 2009 +0000
+++ b/net/arping/Makefile       Thu Dec 03 16:19:24 2009 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index