[packages/swig] explicitly pass path used for php-config

atler atler at pld-linux.org
Tue Jul 29 17:49:34 CEST 2025


commit 5c21398dac5184008db8a3510d9483af0c5c25bb
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jul 29 17:30:15 2025 +0200

    explicitly pass path used for php-config
    
    "-config" is appended

 swig.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/swig.spec b/swig.spec
index f9694ce..078fc82 100644
--- a/swig.spec
+++ b/swig.spec
@@ -179,7 +179,7 @@ Moduł SWIG do generowania wiązań języka Tcl.
 %{__autoconf}
 %{__automake}
 %configure \
-	%{!?with_php:--without-php} \
+	--with-php=%{?with_php:/usr/bin/php}%{!?with_php:no} \
 	%{!?with_python2:--without-python} \
 	%{!?with_python3:--without-python3}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/swig.git/commitdiff/d5613ca6b71ba181fb26d2d3f1bc73afb0ced800



More information about the pld-cvs-commit mailing list