X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/755c5ba85c03aa2631a6e9f0284fe8d6652938cf..69006b0c909eab362854673adc982db976126f69:/gnu/packages/wordnet.scm diff --git a/gnu/packages/wordnet.scm b/gnu/packages/wordnet.scm index 8d969360cd..03dadd431e 100644 --- a/gnu/packages/wordnet.scm +++ b/gnu/packages/wordnet.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2016, 2017 Ludovic Courtès +;;; Copyright © 2013, 2016, 2017, 2018 Ludovic Courtès ;;; Copyright © 2016 Efraim Flashner ;;; ;;; This file is part of GNU Guix. @@ -55,6 +55,12 @@ "CFLAGS=-DUSE_INTERP_RESULT -O2") #:phases (modify-phases %standard-phases + (add-before 'build 'build-libwn-PIC + (lambda _ + ;; GNU Dico links libWN.a in its wordnet.so plugin, so it needs + ;; PIC. + (invoke "make" "-C" "lib" "CFLAGS=-O2 -g -fPIC" + "LDFLAGS=-fPIC"))) (add-after 'install 'post-install (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) @@ -82,7 +88,7 @@ (inputs `(("tk" ,tk) ("tcl" ,tcl))) - (home-page "http://wordnet.princeton.edu/") + (home-page "https://wordnet.princeton.edu/") (synopsis "Lexical database for the English language") (description "WordNet is a large lexical database of English. Nouns, verbs,