diff options
author | hubertf <hubertf@pkgsrc.org> | 1999-09-23 16:28:17 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1999-09-23 16:28:17 +0000 |
commit | 816e188293b91a8078b8c43a3eb2672dbac48bbe (patch) | |
tree | 4612785964838396cfbccf673ee658d31f5fdeca | |
parent | 084a2f43b8051df191369c4f600ebb38710f8477 (diff) | |
download | pkgsrc-816e188293b91a8078b8c43a3eb2672dbac48bbe.tar.gz |
document and use DEFAULT_IRC_SERVER
-rw-r--r-- | mk/mk.conf.example | 8 | ||||
-rw-r--r-- | net/ircII/Makefile | 12 | ||||
-rw-r--r-- | net/sirc/Makefile | 9 |
3 files changed, 20 insertions, 9 deletions
diff --git a/mk/mk.conf.example b/mk/mk.conf.example index e91b92516a9..efe080a72ac 100644 --- a/mk/mk.conf.example +++ b/mk/mk.conf.example @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf.example,v 1.77 1999/09/20 03:56:26 jlam Exp $ +# $NetBSD: mk.conf.example,v 1.78 1999/09/23 16:28:19 hubertf Exp $ # # Sample /etc/mk.conf file, which can be used to set specific values @@ -208,6 +208,12 @@ # Possible: defined, not defined # Default: not defined +#DEFAULT_IRC_SERVER= # Used in ircII to set the default irc + # server. + # Possible: see the list at + # http://www.irchelp.org/irchelp/networks/servers/efnet.html + # Default: not defined + #DOMAIN_NAME= # Used in the knews package to set the domain # name. # Possible: almost anything really, usually a diff --git a/net/ircII/Makefile b/net/ircII/Makefile index 381b021f340..2cca15cd869 100644 --- a/net/ircII/Makefile +++ b/net/ircII/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 1999/08/23 12:27:11 mrg Exp $ +# $NetBSD: Makefile,v 1.22 1999/09/23 16:28:19 hubertf Exp $ # FreeBSD Id: Makefile,v 1.14 1997/05/14 10:35:13 torstenb Exp # @@ -10,16 +10,16 @@ MASTER_SITES= ftp://ircftp.au.eterna.com.au/pub/ircII/ MAINTAINER= packages@netbsd.org +.include "../../mk/bsd.prefs.mk" + GNU_CONFIGURE= yes -CONFIGURE_ARGS+= ${IRCII_CONFIGURE_ARGS} -CONFIGURE_ENV+= ${IRCII_CONFIGURE_ENV} +.if defined(DEFAULT_IRC_SERVER) +CONFIGURE_ARGS+= --with-default-server=${DEFAULT_IRC_SERVER} +.endif PLIST_SRC= ${WRKDIR}/PLIST.tmp - BUILD_DEFS+= USE_SOCKS -.include "../../mk/bsd.prefs.mk" - # Include SOCKS firewall support .if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5) CONFIGURE_ARGS+= --with-socks${USE_SOCKS}=${PREFIX} diff --git a/net/sirc/Makefile b/net/sirc/Makefile index a6c67027b73..a3c5d91b066 100644 --- a/net/sirc/Makefile +++ b/net/sirc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 1998/11/01 13:51:09 hubertf Exp $ +# $NetBSD: Makefile,v 1.11 1999/09/23 16:28:17 hubertf Exp $ DISTNAME= sirc-2.211 CATEGORIES= net @@ -34,8 +34,13 @@ NO_CONFIGURE= yes NO_BUILD= yes DIST_SUBDIR= sirc -### Enter Default IRC-Server here + +.include "../../mk/bsd.prefs.mk" +.if defined(DEFAULT_IRC_SERVER) +IRC_SERVER= ${DEFAULT_IRC_SERVER} +.else IRC_SERVER= us.undernet.org +.endif do-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/sirc |