packages: moc/moc.spec - use system ltdl

glen glen at pld-linux.org
Thu Aug 26 23:00:22 CEST 2010


Author: glen                         Date: Thu Aug 26 21:00:22 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use system ltdl

---- Files affected:
packages/moc:
   moc.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: packages/moc/moc.spec
diff -u packages/moc/moc.spec:1.48 packages/moc/moc.spec:1.49
--- packages/moc/moc.spec:1.48	Thu Sep 17 17:50:51 2009
+++ packages/moc/moc.spec	Thu Aug 26 23:00:16 2010
@@ -207,6 +207,17 @@
 %setup -q
 %{?with_home_etc:%patch0 -p1}
 
+
+rm -rf libltdl
+%{__sed} -i -e '/SUBDIRS/ s/libltdl//' Makefile.am
+%{__sed} -i -e '
+	/LT_CONFIG_LTDL_DIR/d
+	/LT_INIT/d
+	/LTDL_INIT/d
+	/AC_CONFIG_AUX_DIR/d
+	/AC_CONFIG_MACRO_DIR/d
+' configure.in
+
 %build
 CFLAGS="-I/usr/include/ncurses %{rpmcflags}"
 
@@ -217,7 +228,8 @@
 %configure \
 	--disable-debug
 
-%{__make}
+%{__make} \
+	LIBLTDL=-lltdl
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -275,6 +287,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2010/08/26 21:00:16  glen
+- use system ltdl
+
 Revision 1.48  2009/09/17 15:50:51  uzsolt
 - hu
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/moc/moc.spec?r1=1.48&r2=1.49&f=u



More information about the pld-cvs-commit mailing list