mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
give aout machines shared libraries as well
This commit is contained in:
parent
3ab51c3987
commit
1f27b851f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38162
@ -20,8 +20,11 @@ MAINTAINER= dirk@FreeBSD.org
|
||||
.if ${OSVERSION} >= 400014
|
||||
FORBIDDEN= "OpenSSL is already in the base system"
|
||||
.endif
|
||||
|
||||
.if ${PORTOBJFORMAT} == "aout"
|
||||
NOSHARED= yes
|
||||
MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=-Bforcearchive
|
||||
.else
|
||||
MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive
|
||||
.endif
|
||||
|
||||
USE_PERL5= yes
|
||||
|
@ -22,7 +22,7 @@
|
||||
+ ${MAKE} CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='-fPIC ${CFLAG}' SDIRS='${SDIRS}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' DIRS=$$i clean all || exit 1; \
|
||||
+ ( set -x; ${CC} -shared -o lib$$i.so.${SHLIBVER} \
|
||||
+ -Wl,-S,-soname=lib$$i.so.${SHLIBVER} \
|
||||
+ -Wl,--whole-archive lib$$i.a ) || exit 1; \
|
||||
+ -Wl,${WHOLE_ARCHIVE_FLAG} lib$$i.a ) || exit 1; \
|
||||
+ rm -f lib$$i.a; (cd $$i ; ${MAKE} clean) || exit 1 ;\
|
||||
+ done;
|
||||
+ @set -x; \
|
||||
|
@ -20,8 +20,11 @@ MAINTAINER= dirk@FreeBSD.org
|
||||
.if ${OSVERSION} >= 400014
|
||||
FORBIDDEN= "OpenSSL is already in the base system"
|
||||
.endif
|
||||
|
||||
.if ${PORTOBJFORMAT} == "aout"
|
||||
NOSHARED= yes
|
||||
MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=-Bforcearchive
|
||||
.else
|
||||
MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive
|
||||
.endif
|
||||
|
||||
USE_PERL5= yes
|
||||
|
@ -22,7 +22,7 @@
|
||||
+ ${MAKE} CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='-fPIC ${CFLAG}' SDIRS='${SDIRS}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' DIRS=$$i clean all || exit 1; \
|
||||
+ ( set -x; ${CC} -shared -o lib$$i.so.${SHLIBVER} \
|
||||
+ -Wl,-S,-soname=lib$$i.so.${SHLIBVER} \
|
||||
+ -Wl,--whole-archive lib$$i.a ) || exit 1; \
|
||||
+ -Wl,${WHOLE_ARCHIVE_FLAG} lib$$i.a ) || exit 1; \
|
||||
+ rm -f lib$$i.a; (cd $$i ; ${MAKE} clean) || exit 1 ;\
|
||||
+ done;
|
||||
+ @set -x; \
|
||||
|
Loading…
Reference in New Issue
Block a user