summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-04-18 11:46:10 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-04-18 11:46:10 +0000
commitc44fa33a5e74f28fd77012aba7e3a9c8d633e36a (patch)
treee6dd259a421e47b261f2bd597fcca9e4eec75ae0 /irc
parentUpdate to 0.6.1.28 (diff)
- Remove FreeBSD 4.X support from unmaintained ports in categories starting
with letter i-m
Notes
Notes: svn path=/head/; revision=190286
Diffstat (limited to 'irc')
-rw-r--r--irc/dancer/Makefile9
-rw-r--r--irc/irc/Makefile4
2 files changed, 5 insertions, 8 deletions
diff --git a/irc/dancer/Makefile b/irc/dancer/Makefile
index c48bd3df493c..0dafbde72768 100644
--- a/irc/dancer/Makefile
+++ b/irc/dancer/Makefile
@@ -19,6 +19,7 @@ PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
MAKE_ARGS+= CSPECIAL="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+LDFLAGS+= -lm
do-install:
@${MKDIR} ${DATADIR}
@@ -27,10 +28,4 @@ do-install:
dancer.config dancer.users \
dancer.funcs dancer.explain ${DATADIR}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 500000
-LDFLAGS+= -lm
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/irc/irc/Makefile b/irc/irc/Makefile
index 333f81607755..51f70b77d8a3 100644
--- a/irc/irc/Makefile
+++ b/irc/irc/Makefile
@@ -36,9 +36,11 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd
STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/ircd.sh
+OPTIONS= IPV6 "Enable IPv6 support" on
+
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 400014
+.if defined(WITH_IPV6)
CONFIGURE_ARGS+= --enable-ip6
.endif