Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 19:18:41 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360806 - head/irc/ircproxy
Message-ID:  <201407051918.s65JIfVY019265@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Jul  5 19:18:41 2014
New Revision: 360806
URL: http://svnweb.freebsd.org/changeset/ports/360806
QAT: https://qat.redports.org/buildarchive/r360806/

Log:
  irc/ircproxy: modernize and explicit linking with libcrypto (dports)
  
  * new LIB_DEPENDS format
  * use option configure
  * convert USE_BZIP2

Modified:
  head/irc/ircproxy/Makefile

Modified: head/irc/ircproxy/Makefile
==============================================================================
--- head/irc/ircproxy/Makefile	Sat Jul  5 19:17:41 2014	(r360805)
+++ head/irc/ircproxy/Makefile	Sat Jul  5 19:18:41 2014	(r360806)
@@ -12,11 +12,11 @@ COMMENT=	IRC proxy/bouncer daemon
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	cares:${PORTSDIR}/dns/c-ares
+LIB_DEPENDS=	libcares.so:${PORTSDIR}/dns/c-ares
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 GNU_CONFIGURE=	yes
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -lcrypto
 CFLAGS+=	-I${LOCALBASE}/include
 
 USERS=		ircproxyd
@@ -30,28 +30,15 @@ OPTIONS_DEFAULT=	SSL MEMDEBUG FDDEBUG
 MEMDEBUG_DESC=	Enable memory debugging
 FDDEBUG_DESC=	Enable file descriptor debugging
 
+MEMDEBUG_CONFIGURE_ENABLE=	memdebug
+FDDEBUG_CONFIGURE_ENABLE=	fddebug
+IPV6_CONFIGURE_ENABLE=		ipv6
+SSL_CONFIGURE_ENABLE=		ssl
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MSSL}
 USE_OPENSSL=		yes
-.else
-CONFIGURE_ARGS+=	--disable-ssl
-.endif
-
-.if ! ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+=	--disable-ipv6
-.endif
-
-.if ${PORT_OPTIONS:MMEMDEBUG}
-CONFIGURE_ARGS+=	--enable-memdebug
-.else
-CONFIGURE_ARGS+=	--disable-memdebug
-.endif
-
-.if ${PORT_OPTIONS:MFDDEBUG}
-CONFIGURE_ARGS+=	--enable-fddebug
-.else
-CONFIGURE_ARGS+=	--disable-fddebug
 .endif
 
 post-patch:



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