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 /net | |
parent | 084a2f43b8051df191369c4f600ebb38710f8477 (diff) | |
download | pkgsrc-816e188293b91a8078b8c43a3eb2672dbac48bbe.tar.gz |
document and use DEFAULT_IRC_SERVER
Diffstat (limited to 'net')
-rw-r--r-- | net/ircII/Makefile | 12 | ||||
-rw-r--r-- | net/sirc/Makefile | 9 |
2 files changed, 13 insertions, 8 deletions
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 |