/[gentoo-alt]/trunk/overlay/sys-freebsd/freebsd-headers/freebsd-headers-5.4.ebuild
Gentoo

Diff of /trunk/overlay/sys-freebsd/freebsd-headers/freebsd-headers-5.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 853 Revision 854
27if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then 27if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then
28 export CTARGET=${CATEGORY/cross-} 28 export CTARGET=${CATEGORY/cross-}
29fi 29fi
30 30
31src_compile() { 31src_compile() {
32 $(get_bmake) CC=$(tc-getCC) || die "make failed" 32 $(freebsd_get_bmake) CC=$(tc-getCC) || die "make failed"
33} 33}
34 34
35src_install() { 35src_install() {
36 dodir /usr/include 36 [[ ${CTARGET} == ${CHOST} ]] \
37 && INCLUDEDIR="/usr/include" \
38 || INCLUDEDIR="/usr/${CTARGET}/include"
39
37 $(get_bmake) install DESTDIR=${D} || die "Install failed" 40 $(freebsd_get_bmake) install DESTDIR="${D}" INCLUDEDIR="${INCLUDEDIR}" || die "Install failed"
38} 41}

Legend:
Removed from v.853  
changed lines
  Added in v.854

  ViewVC Help
Powered by ViewVC 1.1.20