packages: allegro/allegro.spec - link with -ldl - proper find syntax

lisu lisu at pld-linux.org
Thu Jul 22 13:17:35 CEST 2010


Author: lisu                         Date: Thu Jul 22 11:17:35 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link with -ldl
- proper find syntax

---- Files affected:
packages/allegro:
   allegro.spec (1.77 -> 1.78) 

---- Diffs:

================================================================
Index: packages/allegro/allegro.spec
diff -u packages/allegro/allegro.spec:1.77 packages/allegro/allegro.spec:1.78
--- packages/allegro/allegro.spec:1.77	Fri May 14 03:53:23 2010
+++ packages/allegro/allegro.spec	Thu Jul 22 13:17:30 2010
@@ -318,6 +318,7 @@
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
 	-DMANDIR=%{_mandir} \
 	-DINFODIR=%{_infodir} \
+	-DPLATFORM_LIBS=-ldl \
 	%{!?with_vga:-DWANT_LINUX_VGA=off} \
 	%{!?with_svga:-DWANT_LINUX_SVGALIB=off} \
 %if "%{_lib}" == "lib64"
@@ -336,8 +337,8 @@
 install modules.lst $RPM_BUILD_ROOT%{_libdir}/allegro/%{version}
 
 # install examples and tests
-find build/examples -perm 755 -maxdepth 1 -name "ex*" -exec install {} $RPM_BUILD_ROOT%{_bindir} \;
-find build/tests -perm 755 -maxdepth 1 ! -name CMakeFiles -exec install {} $RPM_BUILD_ROOT%{_bindir} \;
+find build/examples -maxdepth 1 -perm 755 -name "ex*" -exec install {} $RPM_BUILD_ROOT%{_bindir} \;
+find build/tests -maxdepth 1 -perm 755 ! -name CMakeFiles -exec install {} $RPM_BUILD_ROOT%{_bindir} \;
 
 # force install man pages
 cp build/docs/man/* $RPM_BUILD_ROOT%{_mandir}/man3
@@ -503,6 +504,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78  2010/07/22 11:17:30  lisu
+- link with -ldl
+- proper find syntax
+
 Revision 1.77  2010/05/14 01:53:23  sparky
 - BR: OpenGL-GLU-devel, OpenGL-devel, jack-audio-connection-kit-devel,
   libogg-devel, libpng-devel, libstdc++-devel, libvorbis-devel, pkgconfig
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/allegro/allegro.spec?r1=1.77&r2=1.78&f=u



More information about the pld-cvs-commit mailing list