Fix PLIST problems when building with LLVM but without GSSAPI or OPENSSL.

PR:		241053, 241166
Submitted by:	Artyom Davidov
This commit is contained in:
Palle Girgensohn 2019-10-17 14:12:49 +00:00
parent f6c0d0b612
commit 997ef94e33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=514661
2 changed files with 11 additions and 3 deletions

View file

@ -218,9 +218,11 @@ CONFIGURE_ARGS+=--with-gssapi
# so configure's -lgssapi_krb5 won't go.
LDFLAGS+= -lgssapi
LDFLAGS_SL+= -lgssapi
PLIST_SUB+= GSSAPI=""
.endif
.else
CONFIGURE_ARGS+=--without-gssapi
PLIST_SUB+= GSSAPI="@comment "
.endif
. if ${PORT_OPTIONS:MMIT_KRB5}
@ -239,6 +241,12 @@ LIB_DEPENDS+= libkrb5.so.3:security/krb5
CONFIGURE_ARGS+=--with-krb5
. endif
. if ${PORT_OPTIONS:MSSL}
PLIST_SUB+= SSL=""
. else
PLIST_SUB+= SSL="@comment "
. endif
.endif # !SLAVE_ONLY
# For testing files in FILESDIR

View file

@ -338,10 +338,10 @@ lib/postgresql/utf8_and_win.so
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/auth-scram.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/auth.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/be-fsstubs.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/be-gssapi-common.bc
%%LLVM%%%%GSSAPI%%lib/postgresql/bitcode/postgres/libpq/be-gssapi-common.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/be-secure-common.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/be-secure-gssapi.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/be-secure-openssl.bc
%%LLVM%%%%GSSAPI%%lib/postgresql/bitcode/postgres/libpq/be-secure-gssapi.bc
%%LLVM%%%%SSL%%lib/postgresql/bitcode/postgres/libpq/be-secure-openssl.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/be-secure.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/crypt.bc
%%LLVM%%lib/postgresql/bitcode/postgres/libpq/hba.bc