/[gentoo-alt]/trunk/prefix/dev-libs/openssl/files/openssl-0.9.8-engines-dylib.patch
Gentoo

Contents of /trunk/prefix/dev-libs/openssl/files/openssl-0.9.8-engines-dylib.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 961 - (show annotations) (download)
Fri Jan 13 22:14:32 2006 UTC (12 years, 9 months ago) by grobian
File size: 1596 byte(s)
Better not hardcode Darwin support into the ebuild, makes it hard to use
for others.  Also fix engines patch to use the bash variable, not make 
variable, as bash can't set make variables from within the makefile...

1 --- openssl-0.9.8a/engines/Makefile 2005-06-28 04:10:18.000000000 -0500
2 +++ openssl-0.9.8a-new/engines/Makefile 2005-10-29 16:16:23.000000000 -0500
3 @@ -88,15 +88,24 @@
4 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
5 @if [ -n "$(SHARED_LIBS)" ]; then \
6 set -e; \
7 + $(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines; \
8 + if [ "$(PLATFORM)" == "Cygwin" ]; then \
9 + SHLIB="dll"; \
10 + elif [ "$(PLATFORM)" == "Darwin" ]; then \
11 + SHLIB="dylib"; \
12 + else \
13 + SHLIB="so"; \
14 + fi; \
15 for l in $(LIBNAMES); do \
16 ( echo installing $$l; \
17 - if [ "$(PLATFORM)" != "Cygwin" ]; then \
18 - cp lib$$l.so $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \
19 - else \
20 - cp cyg$$l.dll $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \
21 - fi; \
22 - chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \
23 - mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so ); \
24 + if [ "$(PLATFORM)" != "Cygwin" ]; then \
25 + cp lib$$l.$${SHLIB} $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$${SHLIB}.new; \
26 + else \
27 + cp cyg$$l.dll $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \
28 + fi; \
29 + cp lib$$l.$${SHLIB} $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$${SHLIB}.new; \
30 + chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$${SHLIB}.new; \
31 + mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$${SHLIB}.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$${SHLIB} ); \
32 done; \
33 fi
34

  ViewVC Help
Powered by ViewVC 1.1.20