SPECS: adapter.awk - leave -L/usr ... alone

glen glen at pld-linux.org
Tue Dec 13 16:35:46 CET 2005


Author: glen                         Date: Tue Dec 13 15:35:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- leave -L/usr ... alone

---- Files affected:
SPECS:
   adapter.awk (1.240 -> 1.241) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.240 SPECS/adapter.awk:1.241
--- SPECS/adapter.awk:1.240	Tue Dec 13 16:14:02 2005
+++ SPECS/adapter.awk	Tue Dec 13 16:35:41 2005
@@ -965,6 +965,9 @@
 				# CFLAGS="-I/usr/include/ncurses is usually correct.
 				if (/-I\/usr\/include/)
 					continue;
+				# same for LDFLAGS="-L/usr..."
+				if (/-L\/usr/)
+					continue;
 
 				gsub(prefix, "%{_prefix}", $c)
 			}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.240&r2=1.241&f=u




More information about the pld-cvs-commit mailing list