diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-10-09 07:36:00 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-10-09 07:36:00 +0000 |
commit | b231f1a7148a6c83d9878f18f3e71344150745e1 (patch) | |
tree | 84a288d31f77b8eab3429999634500e04cbf3afb /x11-base/x11-drm/x11-drm-20060608-r1.ebuild | |
parent | RESTRICT test as it fails in a very creative way and is not really determined (diff) | |
download | gentoo-2-b231f1a7148a6c83d9878f18f3e71344150745e1.tar.gz gentoo-2-b231f1a7148a6c83d9878f18f3e71344150745e1.tar.bz2 gentoo-2-b231f1a7148a6c83d9878f18f3e71344150745e1.zip |
Fix quoting issues caught by latest repoman.
(Portage version: 2.1.3.12)
Diffstat (limited to 'x11-base/x11-drm/x11-drm-20060608-r1.ebuild')
-rw-r--r-- | x11-base/x11-drm/x11-drm-20060608-r1.ebuild | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/x11-base/x11-drm/x11-drm-20060608-r1.ebuild b/x11-base/x11-drm/x11-drm-20060608-r1.ebuild index f224e9b57131..8559291e7007 100644 --- a/x11-base/x11-drm/x11-drm-20060608-r1.ebuild +++ b/x11-base/x11-drm/x11-drm-20060608-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v 1.6 2007/03/14 18:18:53 battousai Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v 1.7 2007/10/09 07:36:00 dberkholz Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="1.7" @@ -62,27 +62,27 @@ src_unpack() { unpack linux-drm-${PV}-kernelsource.tar.bz2 unpack ${P}-gentoo-${PATCHVER}.tar.bz2 - cd ${S} + cd "${S}" patch_prepare # Apply patches - EPATCH_SUFFIX="patch" epatch ${PATCHDIR} + EPATCH_SUFFIX="patch" epatch "${PATCHDIR}" # Substitute new directory under /lib/modules/${KV_FULL} - cd ${SRC_BUILD} + cd "${SRC_BUILD}" sed -ie "s:/kernel/drivers/char/drm:/${PN}:g" Makefile - cp ${S}/tests/*.c ${SRC_BUILD} + cp "${S}"/tests/*.c "${SRC_BUILD}" src_unpack_os - cd ${S} + cd "${S}" eautoreconf -v --install } src_compile() { - cd ${S} + cd "${S}" # Building the programs. These are useful for developers and getting info from DRI and DRM. # # libdrm objects are needed for drmstat. @@ -96,7 +96,7 @@ src_compile() { src_install() { einfo "Installing DRM..." - cd ${SRC_BUILD} + cd "${SRC_BUILD}" src_install_os @@ -206,8 +206,8 @@ patch_prepare() { # 2.4 vs. 2.6 kernels if use kernel_linux then - kernel_is 2 4 && mv -f ${PATCHDIR}/*kernel-2.6* ${EXCLUDED} - kernel_is 2 6 && mv -f ${PATCHDIR}/*kernel-2.4* ${EXCLUDED} + kernel_is 2 4 && mv -f "${PATCHDIR}"/*kernel-2.6* "${EXCLUDED}" + kernel_is 2 6 && mv -f "${PATCHDIR}"/*kernel-2.4* "${EXCLUDED}" fi # There is only one tree being maintained now. No numeric exclusions need @@ -222,7 +222,7 @@ src_unpack_freebsd() { ln -s "/usr/src/sys-${K_RV}" "${WORKDIR}/sys" # SUBDIR variable gets to all Makefiles, we need it only in the main one. SUBDIRS=${VIDCARDS//.ko} - sed -ie "s:SUBDIR\ =.*:SUBDIR\ =\ drm ${SUBDIRS}:" ${SRC_BUILD}/Makefile + sed -ie "s:SUBDIR\ =.*:SUBDIR\ =\ drm ${SUBDIRS}:" "${SRC_BUILD}"/Makefile fi } @@ -255,7 +255,7 @@ src_install_os() { src_compile_linux() { # This now uses an M= build system. Makefile does most of the work. - cd ${SRC_BUILD} + cd "${SRC_BUILD}" unset ARCH emake M="${SRC_BUILD}" \ LINUXDIR="${KERNEL_DIR}" \ @@ -268,13 +268,13 @@ src_compile_linux() { fi # LINUXDIR is needed to allow Makefiles to find kernel release. - cd ${SRC_BUILD} + cd "${SRC_BUILD}" emake LINUXDIR="${KERNEL_DIR}" dristat || die "Building dristat failed." emake LINUXDIR="${KERNEL_DIR}" drmstat || die "Building drmstat failed." } src_compile_freebsd() { - cd ${SRC_BUILD} + cd "${SRC_BUILD}" # Environment CFLAGS overwrite kernel CFLAGS which is bad. local svcflags=${CFLAGS}; local svldflags=${LDFLAGS} unset CFLAGS; unset LDFLAGS @@ -293,7 +293,7 @@ src_compile_freebsd() { emake dristat || die "Building dristat failed." emake drmstat || die "Building drmstat failed." # Move these where the linux stuff expects them - mv dristat drmstat ${SRC_BUILD} + mv dristat drmstat "${SRC_BUILD}" } die_error() { @@ -305,7 +305,7 @@ die_error() { } src_install_linux() { - cd ${SRC_BUILD} + cd "${SRC_BUILD}" unset ARCH kernel_is 2 6 && DRM_KMOD="drm.${KV_OBJ}" emake KV="${KV_FULL}" \ @@ -321,12 +321,12 @@ src_install_linux() { # Yoinked from the sys-apps/touchpad ebuild. Thanks to whoever made this. keepdir /etc/modules.d - sed 's:%PN%:'${PN}':g' ${FILESDIR}/modules.d-${PN} > ${D}/etc/modules.d/${PN} - sed -i 's:%KV%:'${KV_FULL}':g' ${D}/etc/modules.d/${PN} + sed 's:%PN%:'${PN}':g' "${FILESDIR}"/modules.d-${PN} > "${D}"/etc/modules.d/${PN} + sed -i 's:%KV%:'${KV_FULL}':g' "${D}"/etc/modules.d/${PN} } src_install_freebsd() { - cd ${SRC_BUILD} + cd "${SRC_BUILD}" dodir "/boot/modules" MAKE=make \ emake \ |