freebsd-ports/audio/vamp-plugin-sdk/files/patch-Makefile.in
John Marino 1a4ca43453 audio/vamp-plugin-sdk: Add DragonFly support
Bring in fix from dports (port is not maintained)
I confirmed it still builds on FreeBSD.
2015-03-26 12:56:26 +00:00

35 lines
1.6 KiB
Text

--- Makefile.in.orig 2011-11-24 13:27:03 UTC
+++ Makefile.in
@@ -87,11 +87,11 @@ INSTALL_HOSTSDK_LINK_DEV = libvamp-host
INSTALL_HOSTSDK_STATIC = libvamp-hostsdk.a
INSTALL_HOSTSDK_LA = libvamp-hostsdk.la
-INSTALL_PKGCONFIG = $(INSTALL_PREFIX)/lib/pkgconfig
+INSTALL_PKGCONFIG = $(INSTALL_PREFIX)/libdata/pkgconfig
# Flags required to tell the compiler to create a dynamically loadable object
#
-DYNAMIC_LDFLAGS = -static-libgcc -shared -Wl,-Bsymbolic
+DYNAMIC_LDFLAGS = -shared -Wl,-Bsymbolic
SDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_SDK_LINK_ABI)
HOSTSDK_DYNAMIC_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,-soname=$(INSTALL_HOSTSDK_LINK_ABI)
@@ -288,18 +288,6 @@ install: $(SDK_STATIC) $(SDK_DYNAMIC) $(
> $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-sdk.pc
sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp-hostsdk.pc.in \
> $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-hostsdk.pc
- sed -e "s,%LIBNAME%,$(INSTALL_SDK_LIBNAME),g" \
- -e "s,%LINK_ABI%,$(INSTALL_SDK_LINK_ABI),g" \
- -e "s,%LINK_DEV%,$(INSTALL_SDK_LINK_DEV),g" \
- -e "s,%STATIC%,$(INSTALL_SDK_STATIC),g" \
- -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(SDK_LA).in \
- > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LA)
- sed -e "s,%LIBNAME%,$(INSTALL_HOSTSDK_LIBNAME),g" \
- -e "s,%LINK_ABI%,$(INSTALL_HOSTSDK_LINK_ABI),g" \
- -e "s,%LINK_DEV%,$(INSTALL_HOSTSDK_LINK_DEV),g" \
- -e "s,%STATIC%,$(INSTALL_HOSTSDK_STATIC),g" \
- -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(HOSTSDK_LA).in \
- > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LA)
depend:
makedepend -Y. */*.cpp */*/*.cpp */*/*/*.cpp