pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
go-gopacket: Add a missing PLIST entry on Linux
Module Name: pkgsrc-wip
Committed By: Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By: minskim
Date: Sat Sep 1 09:49:54 2018 -0700
Changeset: c180ef0dfa5ddc2ce9fdcf3b82e641bcd8bec22b
Modified Files:
go-gopacket/Makefile
go-gopacket/PLIST
Log Message:
go-gopacket: Add a missing PLIST entry on Linux
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c180ef0dfa5ddc2ce9fdcf3b82e641bcd8bec22b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
go-gopacket/Makefile | 7 +++++--
go-gopacket/PLIST | 1 +
2 files changed, 6 insertions(+), 2 deletions(-)
diffs:
diff --git a/go-gopacket/Makefile b/go-gopacket/Makefile
index d6496217ac..34b3cc988d 100644
--- a/go-gopacket/Makefile
+++ b/go-gopacket/Makefile
@@ -21,16 +21,19 @@ SUBST_MESSAGE.ldflags= Set LDFLAGS for cgo.
SUBST_FILES.ldflags= pcap/pcap.go
SUBST_SED.ldflags= -e 's, LDFLAGS:, LDFLAGS: -L${BUILDLINK_PREFIX.libpcap}/lib,g'
-PLIST_VARS+= bsdbpf
+PLIST_VARS+= afpacket bsdbpf
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS:M*BSD} || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
PLIST.bsdbpf= yes
+.elif ${OPSYS} == "Linux"
+PLIST.afpacket= yes
+
+.include "../../net/go-net/buildlink3.mk"
.endif
.include "../../devel/go-sys/buildlink3.mk"
-.include "../../net/go-net/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../lang/go/go-package.mk"
diff --git a/go-gopacket/PLIST b/go-gopacket/PLIST
index 186b7cf4fb..d2c0f31565 100644
--- a/go-gopacket/PLIST
+++ b/go-gopacket/PLIST
@@ -10,6 +10,7 @@ bin/reassemblydump
bin/statsassembly
bin/synscan
gopkg/pkg/${GO_PLATFORM}/github.com/google/gopacket.a
+${PLIST.afpacket}gopkg/pkg/${GO_PLATFORM}/github.com/google/gopacket/afpacket.a
${PLIST.bsdbpf}gopkg/pkg/${GO_PLATFORM}/github.com/google/gopacket/bsdbpf.a
gopkg/pkg/${GO_PLATFORM}/github.com/google/gopacket/bytediff.a
gopkg/pkg/${GO_PLATFORM}/github.com/google/gopacket/dumpcommand.a
Home |
Main Index |
Thread Index |
Old Index