From 2457979fa0fcee977794980dc87675526413cd95 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Fri, 15 Nov 2024 23:32:08 +0100 Subject: [PATCH] postgresql: fix for perls rpath --- postgresql/.signature | 4 ++-- postgresql/Pkgfile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/postgresql/.signature b/postgresql/.signature index 2d9f8649c..861e3a9cf 100644 --- a/postgresql/.signature +++ b/postgresql/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3zqjVQ8p7f3AfU8CsulDdXlO3hitT9iqEEeYjufyoqva8wooHElBeHGzh1HHSJFQBXvfJbKwBQvG2GCF4WVlEQ4= -SHA256 (Pkgfile) = 235d0e9563bdb1493e5f5056f8c0848517bb2bbcbb4b3445699b4dc76257d63b +RWSagIOpLGJF36p4G7q26bkKndXoPxJ0UO9NzRt7LTVEFNPP8ETda1QGpryBzK1OVprylAeIjJhbWsbK8nXlIxE1mMxSlMM4mgY= +SHA256 (Pkgfile) = 33349acb5960369508445cfb4934a3cd3f4c2572f1e79db1016268188818b3a9 SHA256 (.footprint) = f444c252c2baa95e639b915fbed3d4cd86a3a01f181150ce60a1ccf658e2c92e SHA256 (postgresql-17.1.tar.bz2) = 7849db74ef6a8555d0723f87e81539301422fa9c8e9f21cce61fdc14e9199dcd SHA256 (postgresql-run-socket.patch) = 02ffb53b0a5049233f665c873b96264db77daab30e5a2194d038202d815a8e6a diff --git a/postgresql/Pkgfile b/postgresql/Pkgfile index 1aa4337b4..375ebf944 100644 --- a/postgresql/Pkgfile +++ b/postgresql/Pkgfile @@ -6,7 +6,7 @@ name=postgresql version=17.1 -release=1 +release=2 source=(https://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2 postgresql-run-socket.patch postgresql.rc postgresql.pam) @@ -15,6 +15,7 @@ build() { cd $name-$version patch -Np1 -i $SRC/postgresql-run-socket.patch + sed -i '/SHLIB_LINK.*=.*perl_embed_ldflags.*/a SHLIB_LINK += $(rpath)' src/pl/plperl/GNUmakefile # optionals {{{ prt-get isinst clang && PKGMK_PGSQL+=' --with-llvm'