gnu: yadifa: Strip spurious store references.
* gnu/packages/dns.scm (yadifa)[arguments]: Add an ‘omit-spurious-references’ phase.
This commit is contained in:
		
							parent
							
								
									4733c76c55
								
							
						
					
					
						commit
						576a16995e
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -782,6 +782,13 @@ served by AS112.  Stub and forward zones are supported.")
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (substitute* "Makefile.in"
 | 
					             (substitute* "Makefile.in"
 | 
				
			||||||
               ((" (etc|var)") ""))
 | 
					               ((" (etc|var)") ""))
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
 | 
					         (add-after 'configure 'omit-spurious-references
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             ;; The many Makefile.in grep this(!) to #define BUILD_OPTIONS.
 | 
				
			||||||
 | 
					             (substitute* "config.log"
 | 
				
			||||||
 | 
					               (("(=/gnu/store/)[^-]*" _ match)
 | 
				
			||||||
 | 
					                (string-append match "...")))
 | 
				
			||||||
             #t)))
 | 
					             #t)))
 | 
				
			||||||
       #:configure-flags
 | 
					       #:configure-flags
 | 
				
			||||||
       (list "--sysconfdir=/etc"
 | 
					       (list "--sysconfdir=/etc"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue