Po-Chuan Hsieh a626924cf2
databases/postgresql{13,14,15,16,17,18}-*: Multiple fixes
- Strip shared library and binary executable
- Fix stage-qa
- Bump PORTREVISION for package change

postgresql{13,14,15,16,17,18}-server:
- Clean up Makefile: Remove unnecessary ";\"
- Sort PLIST: share/locale comes before DATADIR (share/postgresql)

postgresql{17,18}-plperl:
- Remove duplicate USES=perl5
- Add missing USE_PERL5=run

from postgresql{17,18}-plperl build log:
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/postgresql/bool_plperl.so is linked to /usr/local/lib/perl5/5.40/mach/CORE/libperl.so.5.40 from lang/perl5.40 but it is not declared as a dependency

PR:		290587
Approved by:	girgen
2025-11-05 18:23:43 +08:00

25 lines
645 B
Makefile

PORTNAME= postgresql
PORTREVISION= 2
COMMENT= PostgreSQL database (client)
MASTERDIR= ${.CURDIR}/../postgresql14-server
BUILD_DIRS= config src/include src/interfaces src/port src/fe_utils src/bin/pg_amcheck \
src/bin/pg_dump src/bin/psql src/bin/scripts src/bin/pg_config \
src/bin/pgbench doc src/makefiles src/test/regress
INSTALL_DIRS= ${BUILD_DIRS}
CLIENT_ONLY= yes
COMPONENT= -client
USE_LDCONFIG= yes
USES= pkgconfig
OPTIONS_DEFINE+=LIBEDIT DOCS
LIBEDIT_DESC= Use non-GPL libedit instead of readline
LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
LIBEDIT_USES= libedit
LIBEDIT_USES_OFF=readline
.include "${MASTERDIR}/Makefile"