diff options
| author | John Marino <marino@FreeBSD.org> | 2014-07-05 19:18:41 +0000 |
|---|---|---|
| committer | John Marino <marino@FreeBSD.org> | 2014-07-05 19:18:41 +0000 |
| commit | 994267b8fd673ebd3de51b017679b91eb59a0e95 (patch) | |
| tree | e6d8c066c69daf05d58203f3c776509f8f87013e | |
| parent | hgreviewboard: fix the json import (diff) | |
irc/ircproxy: modernize and explicit linking with libcrypto (dports)
* new LIB_DEPENDS format
* use option configure
* convert USE_BZIP2
| -rw-r--r-- | irc/ircproxy/Makefile | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/irc/ircproxy/Makefile b/irc/ircproxy/Makefile index a3d941952ad6..e71d676288e7 100644 --- a/irc/ircproxy/Makefile +++ b/irc/ircproxy/Makefile @@ -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: |
