/[gentoo-x86]/sys-freebsd/freebsd-lib/freebsd-lib-9.0-r3.ebuild
Gentoo

Contents of /sys-freebsd/freebsd-lib/freebsd-lib-9.0-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sun Mar 10 14:01:51 2013 UTC (17 months, 3 weeks ago) by naota
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Apply patch for CVE-2010-2632. #458718

(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key F8551514)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0-r3.ebuild,v 1.9 2013/02/12 11:08:17 naota Exp $
4
5 EAPI=2
6
7 inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs eutils
8
9 DESCRIPTION="FreeBSD's base system libraries"
10 SLOT="0"
11 KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
12
13 # Crypto is needed to have an internal OpenSSL header
14 # sys is needed for libalias, probably we can just extract that instead of
15 # extracting the whole tarball
16 SRC_URI="mirror://gentoo/${LIB}.tar.bz2
17 mirror://gentoo/${CONTRIB}.tar.bz2
18 mirror://gentoo/${CRYPTO}.tar.bz2
19 mirror://gentoo/${LIBEXEC}.tar.bz2
20 mirror://gentoo/${ETC}.tar.bz2
21 mirror://gentoo/${INCLUDE}.tar.bz2
22 mirror://gentoo/${USBIN}.tar.bz2
23 mirror://gentoo/${GNU}.tar.bz2
24 build? (
25 mirror://gentoo/${SYS}.tar.bz2 )
26 zfs? (
27 mirror://gentoo/${CDDL}.tar.bz2 )"
28
29 if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then
30 RDEPEND="ssl? ( dev-libs/openssl )
31 hesiod? ( net-dns/hesiod )
32 kerberos? ( virtual/krb5 )
33 usb? ( !dev-libs/libusb !dev-libs/libusbx )
34 userland_GNU? ( sys-apps/mtree )
35 zfs? ( =sys-freebsd/freebsd-cddl-${RV}* )
36 >=dev-libs/expat-2.0.1
37 !sys-libs/libutempter
38 !sys-freebsd/freebsd-headers"
39 DEPEND="${RDEPEND}
40 >=sys-devel/flex-2.5.31-r2
41 =sys-freebsd/freebsd-sources-${RV}*
42 !bootstrap? ( app-arch/bzip2 )"
43 else
44 SRC_URI="${SRC_URI}
45 mirror://gentoo/${SYS}.tar.bz2"
46 fi
47
48 DEPEND="${DEPEND}
49 =sys-freebsd/freebsd-mk-defs-${RV}*"
50
51 S="${WORKDIR}/lib"
52
53 export CTARGET=${CTARGET:-${CHOST}}
54 if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then
55 export CTARGET=${CATEGORY/cross-}
56 fi
57
58 IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware
59 build bootstrap crosscompile_opts_headers-only zfs
60 userland_GNU userland_BSD multilib"
61
62 pkg_setup() {
63 [ -c /dev/zero ] || \
64 die "You forgot to mount /dev; the compiled libc would break."
65
66 if ! use ssl && use kerberos; then
67 eerror "If you want kerberos support you need to enable ssl support, too."
68 fi
69
70 use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
71 use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "
72 use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= "
73 use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= "
74 use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= "
75 use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
76 use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
77 use usb || mymakeopts="${mymakeopts} WITHOUT_USB= "
78 use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
79
80 mymakeopts="${mymakeopts} WITHOUT_BIND= WITHOUT_BIND_LIBS= WITHOUT_SENDMAIL= WITHOUT_CLANG= "
81
82 if [ "${CTARGET}" != "${CHOST}" ]; then
83 mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})"
84 mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})"
85 fi
86 }
87
88 PATCHES=(
89 "${FILESDIR}/${PN}-6.0-gccfloat.patch"
90 "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch"
91 "${FILESDIR}/${PN}-6.1-csu.patch"
92 "${FILESDIR}/${PN}-8.0-rpcsec_gss.patch"
93 "${FILESDIR}/${PN}-9.0-liblink.patch"
94 "${FILESDIR}/${PN}-bsdxml2expat.patch"
95 "${FILESDIR}/${PN}-9.0-trylock-adaptive.patch"
96 "${FILESDIR}/${PN}-9.0-netware.patch"
97 "${FILESDIR}/${PN}-9.0-bluetooth.patch" )
98
99 # Here we disable and remove source which we don't need or want
100 # In order:
101 # - ncurses stuff
102 # - libexpat creates a bsdxml library which is the same as expat
103 # - archiving libraries (have their own ebuild)
104 # - sendmail libraries (they are installed by sendmail)
105 # - SNMP library and dependency (have their own ebuilds)
106 # - Clang (compiler_rt and blocksruntime)
107 #
108 # The rest are libraries we already have somewhere else because
109 # they are contribution.
110 # Note: libtelnet is an internal lib used by telnet and telnetd programs
111 # as it's not used in freebsd-lib package itself, it's pointless building
112 # it here.
113 REMOVE_SUBDIRS="ncurses \
114 libexpat \
115 libz libbz2 libarchive liblzma \
116 libsm libsmdb libsmutil \
117 libbegemot libbsnmp \
118 libcompiler_rt libblocksruntime \
119 libpam libpcap bind libwrap libmagic \
120 libcom_err libtelnet
121 libelf libedit"
122
123 # Are we building a cross-compiler?
124 is_crosscompile() {
125 [ "${CATEGORY#*cross-}" != "${CATEGORY}" ]
126 }
127
128 src_prepare() {
129 sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc"
130
131 # Upstream Display Managers default to using VT7
132 # We should make FreeBSD allow this by default
133 local x=
134 for x in "${WORKDIR}"/etc/etc.*/ttys ; do
135 sed -i.bak \
136 -e '/ttyv5[[:space:]]/ a\
137 # Display Managers default to VT7.\
138 # If you use the xdm init script, keep ttyv6 commented out\
139 # unless you force a different VT for the DM being used.' \
140 -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \
141 || die "Failed to sed ${x}"
142 rm "${x}".bak
143 done
144
145 # This one is here because it also
146 # patches "${WORKDIR}/include"
147 cd "${WORKDIR}"
148 epatch "${FILESDIR}/${PN}-includes.patch"
149 epatch "${FILESDIR}/${PN}-8.0-gcc45.patch"
150 epatch "${FILESDIR}/${PN}-9.0-opieincludes.patch"
151
152 # Don't install the hesiod man page or header
153 rm "${WORKDIR}"/include/hesiod.h || die
154 sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die
155 sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \
156 "${WORKDIR}"/lib/libc/net/Makefile.inc || die
157
158 # Fix the Makefiles of these few libraries that will overwrite our LDADD.
159 cd "${S}"
160 for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \
161 libsmb; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \
162 die "Problem fixing \"${dir}/Makefile"
163 done
164 # Call LD with LDFLAGS, rename them to RAW_LDFLAGS
165 sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \
166 -i "${S}/csu/i386-elf/Makefile" \
167 -i "${S}/csu/ia64/Makefile" || die
168 if use build; then
169 cd "${WORKDIR}"
170 # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it
171 # shouldn't be a symlink to /usr/src/sys (which should be already patched)
172 epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch
173 epatch "${FILESDIR}"/freebsd-sources-9.0-sysctluint.patch
174 return 0
175 fi
176
177 if ! is_crosscompile ; then
178 ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" || die "Couldn't make sys symlink!"
179 else
180 sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \
181 "${S}/libc/rpc/Makefile.inc" \
182 "${S}/libc/yp/Makefile.inc"
183 fi
184
185 if install --version 2> /dev/null | grep -q GNU; then
186 sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile"
187 fi
188
189 # Let arch-specific includes to be found
190 local machine
191 machine=$(tc-arch-kernel ${CTARGET})
192 ln -s "${WORKDIR}/sys/${machine}/include" "${WORKDIR}/include/machine" || \
193 die "Couldn't make ${machine}/include symlink."
194
195 cd "${S}"
196 use bootstrap && dummy_mk libstand
197 # Try to fix sed calls for GNU sed. Do it only with GNU userland and force
198 # BSD's sed on BSD.
199 if use userland_GNU; then
200 find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \;
201 fi
202 }
203
204 get_csudir() {
205 if [ -d "${WORKDIR}/lib/csu/$1-elf" ]; then
206 echo "lib/csu/$1-elf"
207 else
208 echo "lib/csu/$1"
209 fi
210 }
211
212 bootstrap_csu() {
213 local csudir="$(get_csudir $(tc-arch-kernel ${CTARGET}))"
214 export RAW_LDFLAGS=$(raw-ldflags)
215 cd "${WORKDIR}/${csudir}" || die "Missing ${csudir}."
216 freebsd_src_compile
217
218 CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}"
219 append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}"
220 }
221
222 # Compile libssp_nonshared.a and add it's path to LDFLAGS.
223 bootstrap_libssp_nonshared() {
224 cd "${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" || die "missing libssp."
225 freebsd_src_compile
226 append-ldflags "-L${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/libssp/libssp_nonshared/"
227 export LDADD="-lssp_nonshared"
228 }
229
230 # What to build for a non-native build: cross-compiler, non-native abi in
231 # multilib. We also need the csu but this has to be handled separately.
232 NON_NATIVE_SUBDIRS="lib/libc lib/msun gnu/lib/libssp/libssp_nonshared lib/libthr lib/libutil"
233
234 # Subdirs for a native build:
235 NATIVE_SUBDIRS="lib gnu/lib/libssp/libssp_nonshared gnu/lib/libregex"
236
237 # Is my $ABI native ?
238 is_native_abi() {
239 is_crosscompile && return 1
240 use multilib || return 0
241 [ "${ABI}" = "${DEFAULT_ABI}" ]
242 }
243
244 # Do we need to bootstrap the csu and libssp_nonshared?
245 need_bootstrap() {
246 is_crosscompile || use build || ! is_native_abi || has_version "<${CATEGORY}/${P}"
247 }
248
249 # Get the subdirs we are building.
250 get_subdirs() {
251 local ret=""
252 if is_native_abi ; then
253 # If we are building for the native ABI, build everything
254 ret="${NATIVE_SUBDIRS}"
255 elif is_crosscompile ; then
256 # With a cross-compiler we only build the very core parts.
257 ret="${NON_NATIVE_SUBDIRS}"
258 if [ "${EBUILD_PHASE}" = "install" ]; then
259 # Add the csu dir first when installing. We treat it separately for
260 # compiling.
261 ret="$(get_csudir $(tc-arch-kernel ${CTARGET})) ${ret}"
262 fi
263 elif use build ; then
264 # For the non-native ABIs we only build the csu parts and very core
265 # libraries for now.
266 ret="gnu/lib/libssp/libssp_nonshared"
267 if [ "${EBUILD_PHASE}" = "install" ]; then
268 ret="$(get_csudir $(tc-arch-kernel ${CHOST})) ${ret}"
269 fi
270 else
271 # Only build the csu parts and core libraries for now.
272 ret="gnu/lib/libssp/libssp_nonshared"
273 if [ "${EBUILD_PHASE}" = "install" ]; then
274 ret="$(get_csudir $(tc-arch-kernel ${CHOST})) ${ret}"
275 fi
276 # Finally, with a non-native ABI without USE=build, we build everything
277 # too.
278 #ret="${NATIVE_SUBDIRS}"
279 fi
280 echo "${ret}"
281 }
282
283 # Bootstrap the core libraries and setup the flags so that the other parts can
284 # build against it.
285 do_bootstrap() {
286 einfo "Bootstrapping on ${CHOST} for ${CTARGET}"
287 if ! is_crosscompile ; then
288 # Pre-install headers, but not when building a cross-compiler since we
289 # assume they have been installed in the previous pass.
290 einfo "Pre-installing includes in include_proper_${ABI}"
291 mkdir "${WORKDIR}/include_proper_${ABI}" || die
292 CTARGET="${CHOST}" install_includes "/include_proper_${ABI}"
293 CFLAGS="${CFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}"
294 fi
295 bootstrap_csu
296 bootstrap_libssp_nonshared
297 }
298
299 # Compile it. Assume we have the toolchain setup correctly.
300 do_compile() {
301 export MAKEOBJDIRPREFIX="${WORKDIR}/${CHOST}"
302 mkdir "${MAKEOBJDIRPREFIX}" || die "Could not create ${MAKEOBJDIRPREFIX}."
303 need_bootstrap && do_bootstrap
304
305 export RAW_LDFLAGS=$(raw-ldflags)
306
307 # Everything is now setup, build it!
308 for i in $(get_subdirs) ; do
309 einfo "Building in ${i}... with CC=${CC} and CFLAGS=${CFLAGS}"
310 cd "${WORKDIR}/${i}/" || die "missing ${i}."
311 freebsd_src_compile || die "make ${i} failed"
312 done
313 }
314
315 src_compile() {
316 # Does not work with GNU sed
317 # Force BSD's sed on BSD.
318 if use userland_BSD ; then
319 export ESED=/usr/bin/sed
320 unalias sed
321 fi
322
323 cd "${WORKDIR}/include"
324 $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed"
325
326 use crosscompile_opts_headers-only && return 0
327
328 # Bug #270098
329 append-flags $(test-flags -fno-strict-aliasing)
330
331 # Bug #324445
332 append-flags $(test-flags -fno-strict-overflow)
333
334 # strip flags and do not do it later, we only add safe, and in fact
335 # needed flags after all
336 strip-flags
337 export NOFLAGSTRIP=yes
338 if is_crosscompile ; then
339 export YACC='yacc -by'
340 CHOST=${CTARGET} tc-export CC LD CXX RANLIB
341 mymakeopts="${mymakeopts} NLS="
342 append-flags "-I/usr/${CTARGET}/usr/include"
343 append-ldflags "-L${WORKDIR}/${CHOST}/${WORKDIR}/lib/libc"
344 fi
345
346 if is_crosscompile ; then
347 do_compile
348 else
349 for ABI in $(get_all_abis) ; do
350 # First, save the variables: CFLAGS, CXXFLAGS, LDFLAGS and mymakeopts.
351 for i in CFLAGS CXXFLAGS LDFLAGS mymakeopts ; do
352 export ${i}_SAVE="${!i}"
353 done
354
355 multilib_toolchain_setup ${ABI}
356
357 local target="$(tc-arch-kernel ${CHOST})"
358 mymakeopts="${mymakeopts} TARGET=${target} MACHINE=${target} MACHINE_ARCH=${target}"
359 CFLAGADD=""
360 if ! is_native_abi ; then
361 mymakeopts="${mymakeopts} COMPAT_32BIT="
362 else
363 use build || CFLAGS="${CFLAGS} -isystem /usr/include";
364 fi
365
366 einfo "Building for ABI ${ABI} and TARGET=$(tc-arch-kernel ${CHOST})"
367
368 CTARGET="${CHOST}" do_compile
369
370 # Restore the variables now.
371 for i in CFLAGS CXXFLAGS LDFLAGS mymakeopts ; do
372 ii="${i}_SAVE"
373 export ${i}="${!ii}"
374 done
375 done
376 fi
377 }
378
379 gen_libc_ldscript() {
380 # Parameters:
381 # $1 = target libdir
382 # $2 = source libc dir
383 # $3 = source libssp_nonshared dir
384
385 # Clear the symlink.
386 rm -f "${D}/$2/libc.so" || die
387
388 # Move the library if needed
389 if [ "$1" != "$2" ] ; then
390 mv "${D}/$2/libc.so.7" "${D}/$1/" || die
391 fi
392
393 # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking
394 # this is done to avoid having to touch gcc spec file as it is currently
395 # done on FreeBSD upstream, mostly because their binutils aren't able to
396 # cope with linker scripts yet.
397 # Taken from toolchain-funcs.eclass:
398 local output_format
399 output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p')
400 [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )"
401
402 cat > "${D}/$2/libc.so" <<-END_LDSCRIPT
403 /* GNU ld script
404 SSP (-fstack-protector) requires __stack_chk_fail_local to be local.
405 GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if
406 this symbol was provided by a shared libc. So we link in
407 libssp_nonshared.a from here.
408 */
409 ${output_format}
410 GROUP ( /$1/libc.so.7 /$3/libssp_nonshared.a )
411 END_LDSCRIPT
412 }
413
414 do_install() {
415 export MAKEOBJDIRPREFIX="${WORKDIR}/${CHOST}"
416 for i in $(get_subdirs) ; do
417 einfo "Installing in ${i}..."
418 cd "${WORKDIR}/${i}/" || die "missing ${i}."
419 freebsd_src_install || die "Install ${i} failed"
420 done
421 }
422
423 src_install() {
424 [ "${CTARGET}" = "${CHOST}" ] \
425 && INCLUDEDIR="/usr/include" \
426 || INCLUDEDIR="/usr/${CTARGET}/usr/include"
427 dodir ${INCLUDEDIR}
428 einfo "Installing for ${CTARGET} in ${CHOST}.."
429 install_includes ${INCLUDEDIR}
430
431 use crosscompile_opts_headers-only && return 0
432 local mylibdir=$(get_libdir)
433
434 if is_crosscompile ; then
435 mymakeopts="${mymakeopts} NO_MAN= \
436 INCLUDEDIR=/usr/${CTARGET}/usr/include \
437 SHLIBDIR=/usr/${CTARGET}/usr/lib \
438 LIBDIR=/usr/${CTARGET}/usr/lib"
439
440 dosym "usr/include" "/usr/${CTARGET}/sys-include"
441 do_install
442 else
443 if ! use multilib ; then
444 # Set SHLIBDIR and LIBDIR for multilib
445 mymakeopts="${mymakeopts} SHLIBDIR=/usr/${mylibdir} LIBDIR=/usr/${mylibdir}"
446 do_install
447 else
448 for ABI in $(get_all_abis) ; do
449 mymakeopts_SAVE="${mymakeopts}"
450 multilib_toolchain_setup ${ABI}
451 mymakeopts="${mymakeopts} SHLIBDIR=/usr/$(get_libdir) LIBDIR=/usr/$(get_libdir)"
452 do_install
453 mymakeopts="${mymakeopts_SAVE}"
454 done
455 fi
456 fi
457
458 # Don't install the rest of the configuration files if crosscompiling
459 if is_crosscompile ; then
460 # This is to get it stripped with the correct tools, otherwise it gets
461 # stripped with the host strip.
462 # And also get the correct OUTPUT_FORMAT in the libc ldscript.
463 export CHOST=${CTARGET}
464 gen_libc_ldscript "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib"
465 return 0
466 fi
467
468 cd "${WORKDIR}/etc/"
469 insinto /etc
470 doins auth.conf nls.alias mac.conf netconfig
471
472 # Install ttys file
473 local MACHINE="$(tc-arch-kernel)"
474 doins "etc.${MACHINE}"/*
475
476 # Generate ldscripts for core libraries that will go in /
477 gen_usr_ldscript -a alias cam geom ipsec jail kiconv \
478 kvm m md procstat sbuf thr ufs util
479
480 gen_libc_ldscript "${mylibdir}" "usr/${mylibdir}" "usr/${mylibdir}"
481
482 # Install a libusb.pc for better compat with Linux's libusb
483 if use usb ; then
484 dodir /usr/$(get_libdir)/pkgconfig
485 sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb.pc" || die
486 fi
487 }
488
489 install_includes()
490 {
491 local INCLUDEDIR="$1"
492
493 # The idea is to be called from either install or unpack.
494 # During unpack it's required to install them as portage's user.
495 if [[ "${EBUILD_PHASE}" == "install" ]]; then
496 local DESTDIR="${D}"
497 BINOWN="root"
498 BINGRP="wheel"
499 else
500 local DESTDIR="${WORKDIR}"
501 [[ -z "${USER}" ]] && USER="portage"
502 BINOWN="${USER}"
503 [[ -z "${GROUPS}" ]] && GROUPS="portage"
504 BINGRP="${GROUPS}"
505 fi
506
507 # Must exist before we use it.
508 [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes."
509 cd "${WORKDIR}/include"
510
511 local MACHINE="$(tc-arch-kernel)"
512
513 einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..."
514 $(freebsd_get_bmake) installincludes \
515 MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \
516 DESTDIR="${DESTDIR}" \
517 INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \
518 BINGRP="${BINGRP}" || die "install_includes() failed"
519 einfo "includes installed ok."
520 EXTRA_INCLUDES="lib/librtld_db lib/libutil lib/msun gnu/lib/libregex"
521 for i in $EXTRA_INCLUDES; do
522 einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..."
523 cd "${WORKDIR}/$i" || die
524 $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \
525 MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \
526 INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \
527 BINGRP="${BINGRP}" || die "problem installing $i includes."
528 einfo "$i includes installed ok."
529 done
530 }

  ViewVC Help
Powered by ViewVC 1.1.20