mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
48 lines
1.8 KiB
Diff
48 lines
1.8 KiB
Diff
diff -urN libmatroska-1.0.0/make/linux/Makefile libmatroska-1.0.0-haiku/make/linux/Makefile
|
|
--- libmatroska-1.0.0/make/linux/Makefile 2010-06-04 08:46:29.017825792 +0000
|
|
+++ libmatroska-1.0.0-haiku/make/linux/Makefile 2010-09-27 01:57:28.436994048 +0000
|
|
@@ -13,6 +13,10 @@
|
|
# BeOS wants the libs and headers in /boot/home/config
|
|
ifeq (BeOS,$(shell uname -s))
|
|
prefix=/boot/home/config
|
|
+endif
|
|
+# Haiku wants the libs and headers in /boot/common
|
|
+ifeq (Haiku,$(shell uname -s))
|
|
+prefix:=$(shell finddir B_COMMON_DIRECTORY)
|
|
else
|
|
prefix=/usr/local
|
|
endif
|
|
@@ -153,23 +157,23 @@
|
|
endif
|
|
|
|
install_headers:
|
|
- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)
|
|
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)
|
|
for i in $(INCLUDE_DIR)/*.h; do \
|
|
- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir) ; \
|
|
+ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir) ; \
|
|
done
|
|
- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)/c
|
|
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)/c
|
|
for i in $(INCLUDE_DIR)/c/*.h; do \
|
|
- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir)/c ; \
|
|
+ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir)/c ; \
|
|
done
|
|
|
|
install_staticlib: $(LIBRARY)
|
|
- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
|
|
- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(libdir)
|
|
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
|
|
+ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(DESTDIR)$(libdir)
|
|
|
|
install_sharedlib: $(LIBRARY_SO)
|
|
- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
|
|
- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(libdir)
|
|
- ln -fs $(LIBRARY_SO_VER) $(libdir)/$(LIBRARY_SO)
|
|
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
|
|
+ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)
|
|
+ ln -fs $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)/$(LIBRARY_SO)
|
|
|
|
ifneq ($(wildcard .depend),)
|
|
include .depend
|