Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2018 16:24:08 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482051 - in head/irc/irssi: . files
Message-ID:  <201810141624.w9EGO8SM005682@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Oct 14 16:24:07 2018
New Revision: 482051
URL: https://svnweb.freebsd.org/changeset/ports/482051

Log:
  Fix configure with openssl 1.1.1
  
  PR:		231970

Added:
  head/irc/irssi/files/patch-configure.ac   (contents, props changed)
Modified:
  head/irc/irssi/Makefile

Modified: head/irc/irssi/Makefile
==============================================================================
--- head/irc/irssi/Makefile	Sun Oct 14 16:23:09 2018	(r482050)
+++ head/irc/irssi/Makefile	Sun Oct 14 16:24:07 2018	(r482051)
@@ -12,7 +12,7 @@ COMMENT=	Modular IRC client with many features
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cpe gettext-runtime gmake libtool ncurses pkgconfig tar:xz
+USES=		autoreconf cpe gettext-runtime gmake gnome libtool ncurses pkgconfig tar:xz
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_GNOME=	glib20
@@ -47,11 +47,9 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e 's|/etc|${PREFIX}&|' \
 		${WRKSRC}/docs/irssi.1
 
-post-configure:
-	@${MV} ${WRKSRC}/irssi.conf ${WRKSRC}/irssi.conf.sample
-
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules
+	@${MV} ${STAGEDIR}${PREFIX}/etc/irssi.conf ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample
 
 post-install-PERL-on:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/Irssi.so

Added: head/irc/irssi/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/irssi/files/patch-configure.ac	Sun Oct 14 16:24:07 2018	(r482051)
@@ -0,0 +1,15 @@
+--- configure.ac.orig	2018-10-06 15:40:00 UTC
++++ configure.ac
+@@ -307,7 +307,11 @@ PKG_CHECK_MODULES([OPENSSL], [openssl], 
+ 	AC_CHECK_LIB([ssl], [SSL_library_init], [
+ 		LIBS="$LIBS -lssl -lcrypto"
+ 	], [
++		AC_CHECK_LIB([ssl], [OPENSSL_init_ssl], [
++			LIBS="$LIBS -lssl -lcrypto"
++		], [
++			AC_MSG_ERROR([The OpenSSL library was not found])
++		])
+-		AC_MSG_ERROR([The OpenSSL library was not found])
+ 	])
+ ])
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810141624.w9EGO8SM005682>