FreeBSD Bugzilla – Attachment 246376 Details for
Bug 275153
www/edbrowse: fix -lopenssl with 12.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git diff
edbrowse-3.8.7_1.diff (text/plain), 1.38 KB, created by
Alfonso S. Siciliano
on 2023-11-17 18:38:36 UTC
(
hide
)
Description:
git diff
Filename:
MIME Type:
Creator:
Alfonso S. Siciliano
Created:
2023-11-17 18:38:36 UTC
Size:
1.38 KB
patch
obsolete
>diff --git a/www/edbrowse/Makefile b/www/edbrowse/Makefile >index c8274684bdb0..c65a59d355f8 100644 >--- a/www/edbrowse/Makefile >+++ b/www/edbrowse/Makefile >@@ -31,6 +31,13 @@ PORTDOCS= * > > OPTIONS_DEFINE= DOCS > >+.include <bsd.port.options.mk> >+ >+# Skip openssl.pc while using OpenSSL from base system on older FreeBSD versions which does not skip this file >+.if ${SSL_DEFAULT} == base && !exists(/usr/libdata/pkgconfig/openssl.pc) >+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openssl >+.endif >+ > do-install: > ${INSTALL_MAN} ${WRKSRC}/doc/man-edbrowse-freebsd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1 > ${INSTALL_PROGRAM} ${WRKSRC}/src/edbrowse ${STAGEDIR}${PREFIX}/bin >diff --git a/www/edbrowse/files/extra-patch-openssl b/www/edbrowse/files/extra-patch-openssl >new file mode 100644 >index 000000000000..97786da57ebf >--- /dev/null >+++ b/www/edbrowse/files/extra-patch-openssl >@@ -0,0 +1,11 @@ >+--- src/makefile.orig 2023-11-17 18:00:41.589174000 +0100 >++++ src/makefile 2023-11-17 18:01:13.273125000 +0100 >+@@ -9,7 +9,7 @@ >+ CFLAGS += $(PLATFORM_CFLAGS) >+ >+ # determine includes and linker flags >+-DEPENDENCIES = libcurl:curl odbc libpcre2-8:pcre2-8 readline openssl >++DEPENDENCIES = libcurl:curl odbc libpcre2-8:pcre2-8 readline >+ INCLUDES = $(shell ./make-helper.sh pkg-config-includes $(DEPENDENCIES)) >+ LINKER_LIBS = $(shell ./make-helper.sh pkg-config-libs $(DEPENDENCIES)) >+ CFLAGS += $(INCLUDES)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275153
: 246376