$NetBSD: patch-ac,v 1.2 2009/09/23 16:03:25 jmmv Exp $ --- src/build-data/makefile/unix.in.orig 2009-09-10 00:29:34.000000000 +0000 +++ src/build-data/makefile/unix.in @@ -17,12 +17,12 @@ VERSION = %{version} ################################################## # Installation Settings # ################################################## -DESTDIR = %{prefix} +PREFIX = $(DESTDIR)%{prefix} -BINDIR = $(DESTDIR)/bin -LIBDIR = $(DESTDIR)/%{libdir} -HEADERDIR = $(DESTDIR)/%{includedir}/botan -DOCDIR = $(DESTDIR)/%{docdir}/Botan-$(VERSION) +BINDIR = $(PREFIX)/bin +LIBDIR = $(PREFIX)/lib +HEADERDIR = $(PREFIX)/include/botan +DOCDIR = $(PREFIX)/share/doc/Botan-$(VERSION) PKGCONF_DIR = $(LIBDIR)/pkgconfig CONFIG_SCRIPT = %{botan_config} @@ -104,7 +104,7 @@ distclean: clean $(RM) Makefile $(CONFIG_SCRIPT) $(PKGCONFIG) install: $(LIBRARIES) - $(ECHO) "Installing Botan into $(DESTDIR)... " + $(ECHO) "Installing Botan into $(PREFIX)... " $(MKDIR_INSTALL) $(DOCDIR) $(MKDIR_INSTALL) $(HEADERDIR) $(MKDIR_INSTALL) $(LIBDIR)