SPECS: weeder.spec - pass DATADIR in CFLAGS

glen glen at pld-linux.org
Fri May 19 19:42:34 CEST 2006


Author: glen                         Date: Fri May 19 17:42:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass DATADIR in CFLAGS

---- Files affected:
SPECS:
   weeder.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/weeder.spec
diff -u SPECS/weeder.spec:1.5 SPECS/weeder.spec:1.6
--- SPECS/weeder.spec:1.5	Fri May 19 19:30:47 2006
+++ SPECS/weeder.spec	Fri May 19 19:42:29 2006
@@ -38,9 +38,8 @@
 %build
 # don't remove trailing slash from DATADIR
 %{__make} -C src \
-	DATADIR=%{_datadir}/ \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}" \
+	CFLAGS='%{rpmcflags} -DDATADIR=\"%{_datadir}/\"'
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -72,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2006/05/19 17:42:29  glen
+- pass DATADIR in CFLAGS
+
 Revision 1.5  2006/05/19 17:30:47  glen
 - pass CC
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/weeder.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list