aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-06-29 18:53:22 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-06-30 21:34:27 +0200
commit49dc5bb7d22af9019b71be67bd8e43f15c41cf23 (patch)
tree48b4f485802a91b8b34e2a12ffa77cf78283b281 /gnu
parent3e908bb5092e2279947815e0e15c6d5102042fcf (diff)
downloadguix-49dc5bb7d22af9019b71be67bd8e43f15c41cf23.tar
guix-49dc5bb7d22af9019b71be67bd8e43f15c41cf23.tar.gz
gnu: libpcap: Omit static library.
* gnu/packages/admin.scm (libpcap)[arguments]: Add a new 'omit-static-library phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 61f287f92c..ee037599a1 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1305,7 +1305,15 @@ tools: server, client, and relay agent.")
("flex" ,flex)))
(arguments
;; There are some tests in testprogs/, but no automated test suite.
- '(#:tests? #f))
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'omit-static-library
+ ;; Neither build nor install libpcap.a.
+ (lambda _
+ (substitute* "Makefile.in"
+ ((" libpcap\\.a") "")
+ ((" install-archive ") " ")))))))
(home-page "https://www.tcpdump.org")
(synopsis "Network packet capture library")
(description