aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-25 15:48:50 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-25 15:48:50 +0400
commit992cbaaf0be4036040b3fcea206b954080b85457 (patch)
tree1a1fc9670714faf07c57db4eb86d9753119f73ee
parentda97a9d8329caae038af4eb8476e772085258203 (diff)
downloadcibs-992cbaaf0be4036040b3fcea206b954080b85457.tar.gz
Support /usr/gnu
-rw-r--r--rules/autotools.mk2
-rw-r--r--rules/ips.mk1
-rw-r--r--trans/gnu7
3 files changed, 10 insertions, 0 deletions
diff --git a/rules/autotools.mk b/rules/autotools.mk
index 1975ff4..eea1ae6 100644
--- a/rules/autotools.mk
+++ b/rules/autotools.mk
@@ -41,6 +41,8 @@ configure-options = \
--libdir="$(libdir)" \
--bindir="$(bindir)" \
--includedir="$(includedir)" \
+ --infodir=/usr/share/info \
+ --disable-static \
configure-%-stamp: pre-configure-stamp
[ -d "$(builddir)" ] || mkdir -p "$(builddir)"
diff --git a/rules/ips.mk b/rules/ips.mk
index 31ecebb..845153f 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -61,6 +61,7 @@ pkg-protos += -d "$(sourcedir)" -d .
transformations := \
$(transdir)/defaults \
+$(transdir)/gnu \
$(transdir)/actuators \
$(transdir)/devel \
$(transdir)/docs \
diff --git a/trans/gnu b/trans/gnu
new file mode 100644
index 0000000..83da978
--- /dev/null
+++ b/trans/gnu
@@ -0,0 +1,7 @@
+<transform file path=usr/gnu/bin/(.+) -> \
+emit link path=usr/bin/g%<1> target=../gnu/bin/%<1> \
+facet.compat.gnulinks=true >
+
+<transform file path=usr/gnu/share/man/man1/(.+) -> \
+emit link path=usr/share/man/man1/g%<1> target=../../../gnu/share/man/man1/%<1> \
+facet.compat.gnulinks=true >