diff options
Diffstat (limited to 'sci-chemistry/specView/specView-1.0.2.ebuild')
-rw-r--r-- | sci-chemistry/specView/specView-1.0.2.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sci-chemistry/specView/specView-1.0.2.ebuild b/sci-chemistry/specView/specView-1.0.2.ebuild index f435c6067..89666a69d 100644 --- a/sci-chemistry/specView/specView-1.0.2.ebuild +++ b/sci-chemistry/specView/specView-1.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -37,19 +37,19 @@ pkg_setup() { src_prepare() { sed \ - -e "s|/usr|${EPREFIX}/usr|g" \ + -e "s|/usr|"${EPREFIX}"/usr|g" \ -e "s|^\(CC =\).*|\1 $(tc-getCC)|g" \ -e '/^MALLOC_FLAG/s:^:#:g' \ -e "/^OPT_FLAG/s:=.*$:= ${CFLAGS}:g" \ -e "/^LINK_FLAGS/s:$: ${LDFLAGS}:g" \ - -e "/^PYTHON_DIR/s:=.*:= ${EPREFIX}/usr:g" \ + -e "/^PYTHON_DIR/s:=.*:= "${EPREFIX}"/usr:g" \ -e "/^PYTHON_LIB/s:=.*:= $(python_get_library -l):g" \ - -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I${EPREFIX}$(python_get_includedir) -I${EPREFIX}$(python_get_sitedir)/numpy/core/include/numpy:g" \ - -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L${EPREFIX}/usr/$(get_libdir):g" \ + -e "/^PYTHON_INCLUDE_FLAGS/s:=.*:= -I"${EPREFIX}"$(python_get_includedir) -I"${EPREFIX}"$(python_get_sitedir)/numpy/core/include/numpy:g" \ + -e "/^PYTHON_LIB_FLAGS/s:=.*:= -L"${EPREFIX}"/usr/$(get_libdir):g" \ -e "/^SHARED_FLAGS/s:=.*:= -shared:g" \ - -e "/^GL_DIR/s:=.*:= ${EPREFIX}/usr/$(get_libdir):g" \ - -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I${EPREFIX}/usr/include:g" \ - -e "/^GL_LIB_FLAGS/s:=.*:= -L${EPREFIX}/usr/$(get_libdir):g" \ + -e "/^GL_DIR/s:=.*:= "${EPREFIX}"/usr/$(get_libdir):g" \ + -e "/^GL_INCLUDE_FLAGS/s:=.*:= -I"${EPREFIX}"/usr/include:g" \ + -e "/^GL_LIB_FLAGS/s:=.*:= -L"${EPREFIX}"/usr/$(get_libdir):g" \ cNg/environment_default.txt > cNg/environment.txt || die echo "SHARED_LINK_PARM = ${LDFLAGS}" >> cNg/environment.txt || die |