ntp/ntp.spec

changeset 744
1a30ac06597d
parent 719
c1c586743518
equal deleted inserted replaced
0:82d43abfef9e 1:aeae54c56fec
35 Distribution: OpenPKG Community 35 Distribution: OpenPKG Community
36 Class: CORE 36 Class: CORE
37 Group: Network 37 Group: Network
38 License: BSD-style 38 License: BSD-style
39 Version: %{V_major}.%{V_minor}.%{V_micro} 39 Version: %{V_major}.%{V_minor}.%{V_micro}
40 Release: 20111226 40 Release: 20120800
41 41
42 # package options 42 # package options
43 %option with_fsl yes 43 %option with_fsl yes
44 %option with_crypto yes 44 %option with_crypto yes
45 %option with_sntp yes 45 %option with_sntp yes
85 } 85 }
86 86
87 %prep 87 %prep
88 %setup -q 88 %setup -q
89 %setup -q -T -D -a 1 89 %setup -q -T -D -a 1
90 %{l_shtool} subst \
91 -e 's;# if defined(HAVE_TIMER_CREATE) && \(defined(HAVE_TIMER_SETTIME)\);#if \1;g' \
92 ntpd/ntp_timer.c
90 93
91 %build 94 %build
92 # configure program 95 # configure program
93 ( case "%{l_platform -t}" in 96 ( case "%{l_platform -t}" in
94 *-netbsd* ) echo "ac_cv_header_sys_soundcard_h=no" >>config.cache ;; 97 *-netbsd* ) echo "ac_cv_header_sys_soundcard_h=no" >>config.cache ;;

mercurial