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-doc | |
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-doc')
-rw-r--r-- | lang/erlang-doc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/erlang-doc/Makefile b/lang/erlang-doc/Makefile index 75dc346d177..b4bf8a93616 100644 --- a/lang/erlang-doc/Makefile +++ b/lang/erlang-doc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/10/02 20:11:39 asau Exp $ +# $NetBSD: Makefile,v 1.11 2013/10/18 11:41:18 bsiegert Exp $ DISTNAME= otp_doc_html_${DIST_VERSION_MAJOR}${DIST_VERSION_MINOR:D-${DIST_VERSION_MINOR}} PKGNAME= erlang-doc-${ERLANG_VERSION} @@ -24,6 +24,8 @@ DUPLICATE_FILES= lib/cosEvent-${VERSION.cosEvent}/info DUPLICATE_FILES+= lib/cosEventDomain-${VERSION.cosEventDomain}/info DUPLICATE_FILES+= lib/mnesia_session-${VERSION.mnesia_session}/info +INSTALLATION_DIRS= lib/erlang + do-install: cd ${WRKDIR} && pax ${DUPLICATE_FILES:=-s,%,,} -rw doc erts-${VERSION.erts} lib ${DESTDIR}${PREFIX}/lib/erlang/ |