diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-31 01:28:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-31 01:28:15 +0000 |
commit | 4ac9ac6e1f0329791a9cbb5fa8920925b43affc8 (patch) | |
tree | e19e6e8c87517f99c4057201546fea801277827f /dev-libs/matrixssl/files | |
parent | Version bump. (diff) | |
download | historical-4ac9ac6e1f0329791a9cbb5fa8920925b43affc8.tar.gz historical-4ac9ac6e1f0329791a9cbb5fa8920925b43affc8.tar.bz2 historical-4ac9ac6e1f0329791a9cbb5fa8920925b43affc8.zip |
cleanup install
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'dev-libs/matrixssl/files')
-rw-r--r-- | dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch b/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch index f8944f686230..d990a2ea443f 100644 --- a/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch +++ b/dev-libs/matrixssl/files/matrixssl-1.7.3-build.patch @@ -2,6 +2,15 @@ Respect host build env --- matrixssl/src/Makefile +++ matrixssl/src/Makefile +@@ -15,7 +15,7 @@ + E = + + LIBRARY = libmatrixssl$(SO) +-STATIC = libmatrixsslstatic$(A) ++STATIC = libmatrixssl$(A) + + OBJECTS = \ + cipherSuite$(O) \ @@ -51,5 +51,6 @@ else #DFLAGS = -Os @@ -41,3 +50,24 @@ Respect host build env +LDFLAGS += -flat_namespace -install_name @executable_path/../src/$(LIBRARY) STRIP = test endif +@@ -122,6 +122,20 @@ + $(RANLIB) $@ + + # ++# Install the package ++# ++DESTDIR = ++PREFIX = /usr ++LIBDIR = $(PREFIX)/lib ++INCDIR = $(PREFIX)/include ++MKDIR = mkdir -p ++ ++install: $(LIBRARY) $(STATIC) ++ $(MKDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCDIR) ++ install -m 0644 $(LIBRARY) $(STATIC) $(DESTDIR)$(LIBDIR) ++ install -m 0644 ../*.h $(DESTDIR)$(INCDIR) ++ ++# + # Clean up all generated files + # + clean: |