SPECS: gpc++.spec - fixed build

qboosh qboosh at pld-linux.org
Thu Jun 16 20:36:19 CEST 2005


Author: qboosh                       Date: Thu Jun 16 18:36:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed build

---- Files affected:
SPECS:
   gpc++.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/gpc++.spec
diff -u SPECS/gpc++.spec:1.7 SPECS/gpc++.spec:1.8
--- SPECS/gpc++.spec:1.7	Wed Jun 15 19:45:38 2005
+++ SPECS/gpc++.spec	Thu Jun 16 20:36:14 2005
@@ -62,25 +62,23 @@
 
 %build
 %{__make} -C src \
-	CXX="libtool --mode=compile --tag CXX %{__cxx}" \
-	CXXFLAGS="%{rpmcflags}" \
-	LIB="libgpc++.la" \
-	AR="libtool --mode=link %{__cxx} %{rpmldflags} -rpath %{_libdir} -o libgpc++.la \$(OBJS:.o) #" \
-
+	CCC="libtool --mode=compile --tag CXX %{__cxx}" \
+	OVERALLCPPFLAGS="%{rpmcflags}" \
+	GPLIBFILE="libgpc++.la" \
+	AR="libtool --mode=link %{__cxx} %{rpmldflags} -rpath %{_libdir} -o libgpc++.la \$(OBJS:%.o=%.lo) #" \
+	LD=true
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}
 install	-d $RPM_BUILD_ROOT%{_includedir}/gpc++
 
-install src/.libs/* $RPM_BUILD_ROOT%{_libdir}/
-install include/*   $RPM_BUILD_ROOT%{_includedir}/gpc++/
-install src/*.cc    $RPM_BUILD_ROOT%{_includedir}/gpc++/
+install include/*   $RPM_BUILD_ROOT%{_includedir}/gpc++
 
 %{__make} install -C src \
-	LIB="libgpc++.la" \
+	GPLIBFILE="libgpc++.la" \
 	INSTALL="libtool --mode=install install" \
-	DESTDIR=$RPM_BUILD_ROOT%{_prefix}
+	INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -107,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/06/16 18:36:14  qboosh
+- fixed build
+
 Revision 1.7  2005/06/15 17:45:38  siomek
 - build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gpc++.spec?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list