diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2013-10-18 11:41:17 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2013-10-18 11:41:17 +0000 |
commit | cabd12b4779f4db58643cc77218e84b989a451f2 (patch) | |
tree | 083a32de7285989cb2f223c037c007d9001e8881 /lang/erlang-man | |
parent | 4b99982c8e50c7ca9e6d3e8fd11e83b3e8cf3601 (diff) | |
download | pkgsrc-cabd12b4779f4db58643cc77218e84b989a451f2.tar.gz |
Fix a common mistake in many different packages: POSIX says that when using
pax -rw, the destination directory must exist. pax in NetBSD creates it if
not, pax in MirBSD complains. I read through all pkgsrc Makefiles that use
pax and added an entry to INSTALLATION_DIRS, or an INSTALL_DATA_DIR
invocation.
I did not test all the changes but they should be fairly safe. If you notice
any breakage because of this change, please contact me.
Diffstat (limited to 'lang/erlang-man')
-rw-r--r-- | lang/erlang-man/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/erlang-man/Makefile b/lang/erlang-man/Makefile index 8efd2bdc7dd..41944f7a62d 100644 --- a/lang/erlang-man/Makefile +++ b/lang/erlang-man/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2012/10/02 20:11:39 asau Exp $ +# $NetBSD: Makefile,v 1.8 2013/10/18 11:41:18 bsiegert Exp $ DISTNAME= otp_doc_man_${DIST_VERSION_MAJOR}${DIST_VERSION_MINOR:D-${DIST_VERSION_MINOR}} PKGNAME= erlang-man-${ERLANG_VERSION} @@ -19,6 +19,8 @@ USE_TOOLS+= pax NO_CONFIGURE= yes NO_BUILD= yes +INSTALLATION_DIRS= lib/erlang + do-install: cd ${WRKDIR} && pax -rw man ${DESTDIR}${PREFIX}/lib/erlang/ |