068f113d33
These updates come from FreeBSD. Florist was never installed in standard GNAT library locations due to the vendor Makefile. Fix the build and also avoid stripping the static library which removes all the symbols, breaking florist completely.
22 lines
817 B
Text
22 lines
817 B
Text
$NetBSD: patch-Makefile.in,v 1.2 2014/04/30 16:27:04 marino Exp $
|
|
|
|
Support DESTDIR and install files in standard locations
|
|
|
|
--- Makefile.in.orig 2012-05-10 13:32:06.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -187,8 +187,12 @@ distclean:
|
|
|
|
# install floristlib
|
|
install:
|
|
- mkdir -p $(PREFIX)/lib/gnat
|
|
- cp -pr floristlib $(PREFIX)/floristlib
|
|
- cp -p florist.gpr $(PREFIX)/lib/gnat
|
|
+ mkdir -p $(DESTDIR)$(PREFIX)/lib/gnat \
|
|
+ $(DESTDIR)$(PREFIX)/lib/florist \
|
|
+ $(DESTDIR)$(PREFIX)/include/florist
|
|
+ $(BSD_INSTALL_DATA) floristlib/*.ad[bs] $(DESTDIR)$(PREFIX)/include/florist
|
|
+ $(BSD_INSTALL_DATA) floristlib/*.ali $(DESTDIR)$(PREFIX)/lib/florist
|
|
+ $(BSD_INSTALL_DATA) floristlib/*.a $(DESTDIR)$(PREFIX)/lib/florist
|
|
+ $(BSD_INSTALL_DATA) florist.gpr $(DESTDIR)$(PREFIX)/lib/gnat
|
|
|
|
.PHONY: install clean distclean regen
|