SPECS: pdns.spec - added config hack for 64bit machines

paszczus paszczus at pld-linux.org
Wed Aug 20 13:12:53 CEST 2008


Author: paszczus                     Date: Wed Aug 20 11:12:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added config hack for 64bit machines

---- Files affected:
SPECS:
   pdns.spec (1.66 -> 1.67) 

---- Diffs:

================================================================
Index: SPECS/pdns.spec
diff -u SPECS/pdns.spec:1.66 SPECS/pdns.spec:1.67
--- SPECS/pdns.spec:1.66	Fri Aug  8 10:23:43 2008
+++ SPECS/pdns.spec	Wed Aug 20 13:12:48 2008
@@ -115,6 +115,11 @@
 %patch2 -p1
 cp %{SOURCE1} .
 cp %{SOURCE2} .
+cp %{SOURCE4} .
+
+%if "%{_lib}" == "lib64"
+%{__sed} -i -e 's/module-dir=\/usr\/lib\/pdns/module-dir=\/usr\/lib64\/pdns/' pdns.conf
+%endif
 
 %build
 CPPFLAGS="-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT=\"\""
@@ -209,6 +214,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.67  2008/08/20 11:12:48  paszczus
+- added config hack for 64bit machines
+
 Revision 1.66  2008/08/08 08:23:43  hawk
 - updated to 2.9.21.1, fixes CVE-2008-3337
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pdns.spec?r1=1.66&r2=1.67&f=u



More information about the pld-cvs-commit mailing list