summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-02-21 07:23:52 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-02-21 07:23:52 +0400
commit4f8aa33828eb8ea1ccc2a78696c4d2354b018ecf (patch)
tree7a01ce955713d6d22d28401da2f6a65e9a66c59e
parent6987c942a11bab3b146da8221f4e2c42373ae596 (diff)
downloadcibs-pkgs-4f8aa33828eb8ea1ccc2a78696c4d2354b018ecf.tar.gz
Allow building debs
-rw-r--r--autoconf/Makefile3
-rw-r--r--openssl1.0.0/Makefile5
2 files changed, 5 insertions, 3 deletions
diff --git a/autoconf/Makefile b/autoconf/Makefile
index be67d4e..48bd637 100644
--- a/autoconf/Makefile
+++ b/autoconf/Makefile
@@ -1,4 +1,5 @@
-include /usr/share/cibs/rules/ips.mk
+package ?= ips
+include /usr/share/cibs/rules/$(package).mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/autotools.mk
include /usr/share/cibs/rules/noarch.mk
diff --git a/openssl1.0.0/Makefile b/openssl1.0.0/Makefile
index d7e8d05..012e139 100644
--- a/openssl1.0.0/Makefile
+++ b/openssl1.0.0/Makefile
@@ -1,4 +1,5 @@
-include /usr/share/cibs/rules/ips.mk
+package ?= ips
+include /usr/share/cibs/rules/$(package).mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/patch.mk
include /usr/share/cibs/rules/32.mk
@@ -54,7 +55,7 @@ configure-options = \
--pk11-libname=$(pkcs11.$(bits)) \
--prefix=/usr \
--openssldir=/etc/openssl \
- --install_prefix=$(protodir.$(bits)) \
+ --install_prefix=$(topdir)/$(protodir.$(bits)) \
--enginesdir=$(enginesdir.$(bits)) \
--libdir=$(libdir.$(bits)) \
$(configure-options.$(bits)) \