diff options
author | reed <reed@pkgsrc.org> | 2005-10-10 18:28:08 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-10-10 18:28:08 +0000 |
commit | 3f94d583317177e6cc597e21036c98a40db3e830 (patch) | |
tree | 11cdbe86365011cf3b6adbd3e9d21d3a47f121b5 | |
parent | c3d20eec3a961a4074e5a22fb4f6f8309761799a (diff) | |
download | pkgsrc-3f94d583317177e6cc597e21036c98a40db3e830.tar.gz |
Instead of using hard-coded 555 mode for installing library,
use BINMODE setting. This helps with non-privileged pkgsrc use.
-rw-r--r-- | pkgtools/libnbcompat/Makefile | 3 | ||||
-rw-r--r-- | pkgtools/libnbcompat/files/Makefile.in | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/Makefile b/pkgtools/libnbcompat/Makefile index dfa9a6dda2e..14036c19884 100644 --- a/pkgtools/libnbcompat/Makefile +++ b/pkgtools/libnbcompat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2005/05/15 02:01:14 reed Exp $ +# $NetBSD: Makefile,v 1.47 2005/10/10 18:28:08 reed Exp $ # # NOTE: If you update this package, it is *mandatory* that you update # pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual @@ -19,6 +19,7 @@ NO_CHECKSUM= yes NO_MTREE= yes GNU_CONFIGURE= yes +MAKE_ENV+= BINMODE=${BINMODE} PKG_INFO= PKG_DBDIR=${_PKG_DBDIR} ${PKG_INFO_CMD} PKG_CREATE= PKG_DBDIR=${_PKG_DBDIR} ${PKG_CREATE_CMD} diff --git a/pkgtools/libnbcompat/files/Makefile.in b/pkgtools/libnbcompat/files/Makefile.in index 92b63917eb3..772805f96f5 100644 --- a/pkgtools/libnbcompat/files/Makefile.in +++ b/pkgtools/libnbcompat/files/Makefile.in @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.in,v 1.31 2005/02/20 05:55:51 grant Exp $ +# $NetBSD: Makefile.in,v 1.32 2005/10/10 18:28:08 reed Exp $ # srcdir= @srcdir@ @@ -12,6 +12,7 @@ CFLAGS= -I$(srcdir) -I. @INCLUDES@ @CFLAGS@ CPPFLAGS= @CPPFLAGS@ DEFS= @DEFS@ INSTALL= @INSTALL@ +BINMODE?= 555 LDFLAGS= @LDFLAGS@ AWK= @AWK@ @@ -83,7 +84,7 @@ bits: bits.c install: $(INSTALL) -m 755 -d $(prefix)/lib - $(INSTALL) -m 555 ${LIB} $(prefix)/lib + $(INSTALL) -m $(BINMODE) ${LIB} $(prefix)/lib $(RANLIB) $(prefix)/lib/$(LIB) $(INSTALL) -m 755 -d $(prefix)/include $(INSTALL) -m 755 -d $(prefix)/include/nbcompat |