Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Nuw /usr/ports/contrib/postgresql/Pkgfile /usr/ports/local/postgresql/Pkgfile
- --- /usr/ports/contrib/postgresql/Pkgfile 2024-11-14 19:36:30.196758664 +0100
- +++ /usr/ports/local/postgresql/Pkgfile 2024-11-15 22:43:25.329780217 +0100
- @@ -6,15 +6,17 @@
- 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-perl-rpath.patch
- postgresql.rc postgresql.pam)
- build() {
- cd $name-$version
- patch -Np1 -i $SRC/postgresql-run-socket.patch
- + patch -Np1 -i $SRC/postgresql-perl-rpath.patch
- # optionals {{{
- prt-get isinst clang && PKGMK_PGSQL+=' --with-llvm'
- diff -Nuw /usr/ports/contrib/postgresql/postgresql-perl-rpath.patch /usr/ports/local/postgresql/postgresql-perl-rpath.patch
- --- /usr/ports/contrib/postgresql/postgresql-perl-rpath.patch 1970-01-01 01:00:00.000000000 +0100
- +++ /usr/ports/local/postgresql/postgresql-perl-rpath.patch 2024-11-15 22:43:25.339780091 +0100
- @@ -0,0 +1,10 @@
- +--- postgresql-17.1/src/pl/plperl/GNUmakefile~ 2024-11-11 23:42:37.000000000 +0100
- ++++ postgresql-17.1/src/pl/plperl/GNUmakefile 2024-11-15 22:35:51.448486278 +0100
- +@@ -54,6 +54,7 @@
- +
- +
- + SHLIB_LINK = $(perl_embed_ldflags)
- ++SHLIB_LINK += $(rpath)
- +
- + # see https://www.postgresql.org/message-id/flat/8c4fcb72-2574-ff7c-4c25-1f032d4a2a57%40enterprisedb.com
- + ifeq ($(PORTNAME), cygwin)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement