376 # install into <dir>/$(MACH64) for 64-bit install so no such directory is |
376 # install into <dir>/$(MACH64) for 64-bit install so no such directory is |
377 # created and Userland install code would fail when installing lint libraries. |
377 # created and Userland install code would fail when installing lint libraries. |
378 COMPONENT_PRE_INSTALL_ACTION = ( $(MKDIR) $(MANDIR_SECTIONS); \ |
378 COMPONENT_PRE_INSTALL_ACTION = ( $(MKDIR) $(MANDIR_SECTIONS); \ |
379 $(MKDIR) $(PROTO_DIR)/usr/lib/$(MACH64); ) |
379 $(MKDIR) $(PROTO_DIR)/usr/lib/$(MACH64); ) |
380 |
380 |
|
381 # Remove unnecessary RUNPATH/RPATH for libcrypto.so.1.0.0 |
|
382 COMPONENT_POST_INSTALL_ACTION.32 = \ |
|
383 $(ELFEDIT) -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \ |
|
384 $(BUILD_DIR_32)/libcrypto.so.1.0.0; |
|
385 COMPONENT_POST_INSTALL_ACTION.64 = \ |
|
386 $(ELFEDIT) -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \ |
|
387 $(BUILD_DIR_64)/libcrypto.so.1.0.0; |
|
388 COMPONENT_POST_INSTALL_ACTION += $(COMPONENT_POST_INSTALL_ACTION.$(BITS)) |
|
389 |
381 # The install_docs target will install man pages into $(PROTO_DIR)/$(MANDIR). We |
390 # The install_docs target will install man pages into $(PROTO_DIR)/$(MANDIR). We |
382 # also add /usr/perl5/bin to PATH so that OpenSSL install code can locate the |
391 # also add /usr/perl5/bin to PATH so that OpenSSL install code can locate the |
383 # system pod2man. If not set, OpenSSL make would use an internal implementation |
392 # system pod2man. If not set, OpenSSL make would use an internal implementation |
384 # from the tarball which would corrupt some man pages. |
393 # from the tarball which would corrupt some man pages. |
385 COMPONENT_INSTALL_ARGS += PATH=$(PATH) MANDIR=/usr/share/man |
394 COMPONENT_INSTALL_ARGS += PATH=$(PATH) MANDIR=/usr/share/man |