mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
liquid-dsp: fix build, for real this time
This commit is contained in:
parent
c38a28a297
commit
cad746a7a2
2 changed files with 51 additions and 1 deletions
51
srcpkgs/liquid-dsp/patches/fix-make-install.patch
Normal file
51
srcpkgs/liquid-dsp/patches/fix-make-install.patch
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
Index: makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- makefile.in.orig
|
||||||
|
+++ makefile.in
|
||||||
|
@@ -47,10 +47,10 @@ VERSION := @PACKAGE_VERSION@
|
||||||
|
BUGREPORT := @PACKAGE_BUGREPORT@
|
||||||
|
|
||||||
|
# paths
|
||||||
|
-srcdir := @srcdir@
|
||||||
|
-libdir := @libdir@
|
||||||
|
prefix := @prefix@
|
||||||
|
exec_prefix := @exec_prefix@
|
||||||
|
+srcdir := @srcdir@
|
||||||
|
+libdir := @libdir@
|
||||||
|
include_dirs := . include
|
||||||
|
|
||||||
|
# programs
|
||||||
|
@@ -1188,10 +1188,10 @@ help:
|
||||||
|
install: all
|
||||||
|
@echo "installing..."
|
||||||
|
@echo ""
|
||||||
|
- mkdir -p $(DESTDIR)$(exec_prefix)$(libdir)
|
||||||
|
+ mkdir -p $(DESTDIR)$(libdir)
|
||||||
|
mkdir -p $(DESTDIR)$(prefix)/include/liquid
|
||||||
|
- install -m 644 -p $(SHARED_LIB) libliquid.a $(DESTDIR)$(exec_prefix)$(libdir)
|
||||||
|
- ln -s $(SHARED_LIB) $(DESTDIR)$(exec_prefix)$(libdir)/libliquid.so
|
||||||
|
+ install -m 644 -p $(SHARED_LIB) libliquid.a $(DESTDIR)$(libdir)
|
||||||
|
+ ln -s $(SHARED_LIB) $(DESTDIR)$(libdir)/libliquid.so
|
||||||
|
install -m 644 -p $(addprefix include/,$(headers_install)) $(DESTDIR)$(prefix)/include/liquid
|
||||||
|
@echo ""
|
||||||
|
@echo "---------------------------------------------------------"
|
||||||
|
@@ -1201,7 +1201,7 @@ install: all
|
||||||
|
@echo " libraries by running 'ldconfig' to make the shared"
|
||||||
|
@echo " object available. You might also need to modify your"
|
||||||
|
@echo " LD_LIBRARY_PATH environment variable to include the"
|
||||||
|
- @echo " directory $(DESTDIR)$(exec_prefix)"
|
||||||
|
+ @echo " directory $(DESTDIR)"
|
||||||
|
@echo ""
|
||||||
|
@echo " Please report bugs to $(BUGREPORT)"
|
||||||
|
@echo "---------------------------------------------------------"
|
||||||
|
@@ -1214,8 +1214,8 @@ install: all
|
||||||
|
uninstall:
|
||||||
|
@echo "uninstalling..."
|
||||||
|
$(RM) $(addprefix $(DESTDIR)$(prefix)/include/liquid/, $(headers_install))
|
||||||
|
- $(RM) $(DESTDIR)$(exec_prefix)$(libdir)/libliquid.a
|
||||||
|
- $(RM) $(DESTDIR)$(exec_prefix)$(libdir)/$(SHARED_LIB)
|
||||||
|
+ $(RM) $(DESTDIR)$(libdir)/libliquid.a
|
||||||
|
+ $(RM) $(DESTDIR)$(libdir)/$(SHARED_LIB)
|
||||||
|
@echo "done."
|
||||||
|
|
||||||
|
##
|
|
@ -3,7 +3,6 @@ pkgname=liquid-dsp
|
||||||
version=1.3.1
|
version=1.3.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--exec-prefix="
|
|
||||||
hostmakedepends="automake"
|
hostmakedepends="automake"
|
||||||
makedepends="fftw-devel"
|
makedepends="fftw-devel"
|
||||||
short_desc="Signal processing library for software-defined radios (SDR)"
|
short_desc="Signal processing library for software-defined radios (SDR)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue