svn commit: r360806 - head/irc/ircproxy
John Marino
marino at FreeBSD.org
Sat Jul 5 19:18:41 UTC 2014
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:
More information about the svn-ports-all
mailing list