ghdl: don't remove src/ directory when installing

This commit is contained in:
yosh 2024-09-12 11:20:50 -04:00 committed by classabbyamp
parent 5be0a1421f
commit c6f4a1f9d3
1 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,7 @@
pkgname=ghdl pkgname=ghdl
reverts="20181129_1" reverts="20181129_1"
version=4.1.0 version=4.1.0
revision=1 revision=2
build_style=configure build_style=configure
configure_args="--prefix=/usr --srcdir=.. --disable-werror" configure_args="--prefix=/usr --srcdir=.. --disable-werror"
makedepends="zlib-devel" makedepends="zlib-devel"
@ -73,11 +73,9 @@ do_install() {
# install whatever backends we have # install whatever backends we have
if [ "$build_option_mcode" ]; then if [ "$build_option_mcode" ]; then
make -C build_mcode DESTDIR=${DESTDIR} install make -C build_mcode DESTDIR=${DESTDIR} install
rm -rf ${DESTDIR}/usr/lib/ghdl/src
fi fi
if [ "$build_option_llvm" ]; then if [ "$build_option_llvm" ]; then
make -C build_llvm DESTDIR=${DESTDIR} install make -C build_llvm DESTDIR=${DESTDIR} install
rm -rf ${DESTDIR}/usr/lib/ghdl/src
fi fi
# manpage is not installed by default # manpage is not installed by default
vman doc/ghdl.1 vman doc/ghdl.1