$NetBSD: patch-bd,v 1.1.1.1 2011/02/11 16:48:53 drochner Exp $ --- include/zlib/makefile.orig 2011-02-11 11:10:06.000000000 +0000 +++ include/zlib/makefile @@ -35,8 +35,8 @@ LIBZ_shared = $(LDIR_R)/libz$(SOEXT) install: ifeq ($(ZLIB), false) - $(CP) $(LIBZ_static) $(I_LIB)/static + $(CP) $(LIBZ_static) $(DESTDIR)$(I_LIB)/static ifeq (${ENABLE_SHARED}, true) - $(CP) $(LIBZ_shared) $(I_LIB)/relocatable + $(CP) $(LIBZ_shared) $(DESTDIR)$(I_LIB)/relocatable endif endif