You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

73 lines
2.9 KiB

Index: configure
--- configure.orig 2018-11-08 19:55:53.630055000 +0100
+++ configure 2018-11-08 20:15:42.658268000 +0100
@@ -7620,12 +7620,6 @@
test "$PORTNAME" = "win32" && perl_useshrplib=`echo $perl_useshrplib | sed 's,\\\\,/,g'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl_useshrplib" >&5
$as_echo "$perl_useshrplib" >&6; }
- if test "$perl_useshrplib" != yes && test "$perl_useshrplib" != true; then
- as_fn_error $? "cannot build PL/Perl because libperl is not a shared library
-You might have to rebuild your Perl installation. Refer to the
-documentation for details. Use --without-perl to disable building
-PL/Perl." "$LINENO" 5
- fi
# On most platforms, archlibexp is also where the Perl include files live ...
perl_includespec="-I$perl_archlibexp/CORE"
# ... but on newer macOS versions, we must use -iwithsysroot to look
Index: src/Makefile.shlib
--- src/Makefile.shlib.orig 2018-11-05 22:47:37.000000000 +0100
+++ src/Makefile.shlib 2018-11-08 19:55:53.630698000 +0100
@@ -289,7 +289,7 @@
.PHONY: all-lib all-static-lib all-shared-lib
-all-lib: all-shared-lib
+all-lib:
ifdef soname
# no static library when building a dynamically loadable module
all-lib: all-static-lib
Index: src/backend/Makefile
--- src/backend/Makefile.orig 2018-11-05 22:47:37.000000000 +0100
+++ src/backend/Makefile 2018-11-08 19:55:53.630843000 +0100
@@ -43,7 +43,7 @@
LIBS := $(filter-out -lpgport -lpgcommon, $(LIBS)) $(LDAP_LIBS_BE)
# The backend doesn't need everything that's in LIBS, however
-LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS))
+LIBS := $(filter-out -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS))
ifeq ($(with_systemd),yes)
LIBS += -lsystemd
Index: src/include/port.h
--- src/include/port.h.orig 2018-11-05 22:47:37.000000000 +0100
+++ src/include/port.h 2018-11-08 19:55:53.630989000 +0100
@@ -375,7 +375,7 @@
extern int getpeereid(int sock, uid_t *uid, gid_t *gid);
#endif
-#ifndef HAVE_ISINF
+#if !defined(HAVE_ISINF) && !defined(__FreeBSD__)
extern int isinf(double x);
#endif
Index: src/makefiles/Makefile.freebsd
--- src/makefiles/Makefile.freebsd.orig 2018-11-05 22:47:37.000000000 +0100
+++ src/makefiles/Makefile.freebsd 2018-11-08 19:55:53.631101000 +0100
@@ -13,7 +13,7 @@
# Rule for building a shared library from a single .o file
%.so: %.o
ifdef ELF_SYSTEM
- $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ $<
+ $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ $< $(SHLIB_LINK)
else
$(LD) $(LDREL) $(LDOUT) $<.obj -x $<
@echo building shared object $@
Index: src/makefiles/Makefile.linux
--- src/makefiles/Makefile.linux.orig 2018-11-05 22:47:37.000000000 +0100
+++ src/makefiles/Makefile.linux 2018-11-08 19:55:53.631204000 +0100
@@ -12,4 +12,4 @@
# Rule for building a shared library from a single .o file
%.so: %.o
- $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ $<
+ $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ $< $(SHLIB_LINK)