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 | c4a7f54b9e7363f253220f5aa2c0e710042621f9 (patch) | |
tree | 7afb8bd74047e38fea26e603e4be28fb2cbeb373 /dev-libs/matrixssl/files | |
parent | Version bump. (diff) | |
download | gentoo-2-c4a7f54b9e7363f253220f5aa2c0e710042621f9.tar.gz gentoo-2-c4a7f54b9e7363f253220f5aa2c0e710042621f9.tar.bz2 gentoo-2-c4a7f54b9e7363f253220f5aa2c0e710042621f9.zip |
cleanup install
(Portage version: 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: |