pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/dnstracer



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Jun 14 09:30:20 UTC 2017

Modified Files:
        pkgsrc/net/dnstracer: Makefile distinfo
Added Files:
        pkgsrc/net/dnstracer/patches: patch-Makefile

Log Message:
Fix build on Darwin and SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/dnstracer/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/dnstracer/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/dnstracer/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/dnstracer/Makefile
diff -u pkgsrc/net/dnstracer/Makefile:1.17 pkgsrc/net/dnstracer/Makefile:1.18
--- pkgsrc/net/dnstracer/Makefile:1.17  Sat Jul  9 06:38:41 2016
+++ pkgsrc/net/dnstracer/Makefile       Wed Jun 14 09:30:20 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2016/07/09 06:38:41 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/06/14 09:30:20 jperkin Exp $
 
 DISTNAME=              dnstracer-1.10
 PKGREVISION=           2
@@ -17,6 +17,8 @@ WRKSRC=                       ${WRKDIR}/${PKGBASE}
 AUTO_MKDIRS=           yes
 USE_TOOLS+=            gzip tar perl:run pod2man
 
+CFLAGS.SunOS+=         -Du_int16_t=uint16_t -Du_int32_t=uint32_t
+LDFLAGS.Darwin+=       -lresolv
 LDFLAGS.SunOS+=                -lresolv -lsocket -lnsl
 
 # filename is .tar.bz2, but it seems .tar.gz format

Index: pkgsrc/net/dnstracer/distinfo
diff -u pkgsrc/net/dnstracer/distinfo:1.7 pkgsrc/net/dnstracer/distinfo:1.8
--- pkgsrc/net/dnstracer/distinfo:1.7   Wed Nov  4 00:34:58 2015
+++ pkgsrc/net/dnstracer/distinfo       Wed Jun 14 09:30:20 2017
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 00:34:58 agc Exp $
+$NetBSD: distinfo,v 1.8 2017/06/14 09:30:20 jperkin Exp $
 
 SHA1 (dnstracer-1.10.tar.bz2) = b08c3b5d90226610931e49144b3e7fdf2d567d8a
 RMD160 (dnstracer-1.10.tar.bz2) = e5ab05ac6464e5aae4f3d7ce460ab7f4a9fbecf0
 SHA512 (dnstracer-1.10.tar.bz2) = 8174f92c5c1b300c1011a24f0cf2f16dc2b52a082729e52d1033a047e20d132d6005b89618ecbbd25cbdc1c95cdc0748cf666bdc56b769b240d8885469bc6e05
 Size (dnstracer-1.10.tar.bz2) = 19169 bytes
+SHA1 (patch-Makefile) = 30ee38e87cdeb7bb1f9ee73714a3d8305f229baa
 SHA1 (patch-dnstracer.c) = a21dbd54c3fd742c8650b95fcb4fd84c6540f537

Added files:

Index: pkgsrc/net/dnstracer/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/dnstracer/patches/patch-Makefile:1.1
--- /dev/null   Wed Jun 14 09:30:20 2017
+++ pkgsrc/net/dnstracer/patches/patch-Makefile Wed Jun 14 09:30:20 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2017/06/14 09:30:20 jperkin Exp $
+
+Use pkgsrc flags.
+
+--- Makefile.orig      2008-06-11 12:51:35.000000000 +0000
++++ Makefile
+@@ -18,7 +18,7 @@ clean:
+       -rm dnstracer.o dnstracer dnstracer.8 dnstracer.core
+ 
+ dnstracer: dnstracer.c dnstracer-missing.h
+-      $(CC) -Wall -o dnstracer -DVERSION="${VERSION}" dnstracer.c
++      $(CC) $(CFLAGS) -o dnstracer $(LDFLAGS) -DVERSION="${VERSION}" dnstracer.c
+ 
+ dnstracer.8: dnstracer.pod
+       pod2man --release="${MANDATE}" --date="${MANDATE}" \



Home | Main Index | Thread Index | Old Index