summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-12-19 12:15:59 +0800
committer宋文武 <iyzsong@gmail.com>2015-12-19 12:15:59 +0800
commit599fd84227066d64095f7ec2c2bc942cda763f2b (patch)
tree38ff20e0468fcc9dbbb080a446484580b960499c
parent7db0799dc97a3b6f268bb7fa410137c1321af3d4 (diff)
gnu: mpv: Fix build by using pkg-config for smbclient.
This is a followup to commit 710964d. * gnu/packages/video.scm (mpv)[arguments]: Remove 'patch-wscript' phase.
-rw-r--r--gnu/packages/video.scm9
1 files changed, 1 insertions, 8 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 5d118ca32d..dcefd4ee0d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -755,14 +755,7 @@ SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.")
'configure 'setup-waf
(lambda* (#:key inputs #:allow-other-keys)
(copy-file (assoc-ref inputs "waf") "waf")
- (setenv "CC" "gcc")))
- (add-before
- 'configure 'patch-wscript
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "wscript"
- ;; XXX Remove this when our Samba package provides a .pc file.
- (("check_pkg_config\\('smbclient'\\)")
- "check_cc(lib='smbclient')")))))
+ (setenv "CC" "gcc"))))
;; No check function defined.
#:tests? #f))
(home-page "http://mpv.io/")