aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-08-11 06:54:58 +0800
committermarino <marino@FreeBSD.org>2013-08-11 06:54:58 +0800
commit7e56f91788806b747f8a78395ed33e1e8f07e7f7 (patch)
tree9ca573497b229284b0b2427509c549297009f3da
parent6fceeba882f15c615591160616b3ab47a4e6c669 (diff)
downloadfreebsd-ports-gnome-7e56f91788806b747f8a78395ed33e1e8f07e7f7.tar.gz
freebsd-ports-gnome-7e56f91788806b747f8a78395ed33e1e8f07e7f7.tar.zst
freebsd-ports-gnome-7e56f91788806b747f8a78395ed33e1e8f07e7f7.zip
irc/irc: Replace hardcoded "freebsd" with OPSYS:L
Using OPSYS allows the port to build on DragonFly without modification. The header was also trimmed, but there was no function change made to the port. Approved by: bapt/culot (mentors, implicit)
-rw-r--r--irc/irc/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/irc/irc/Makefile b/irc/irc/Makefile
index 072770c750b9..3b279f9c92b4 100644
--- a/irc/irc/Makefile
+++ b/irc/irc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Irc Server
-# Date created: 23 August 1994
-# Whom: torstenb
-#
+# Created by: torstenb
# $FreeBSD$
-#
PORTNAME= irc
PORTVERSION= 2.11.2p3
@@ -26,7 +22,7 @@ MAN8= ircd.8 iauth.8 ircdwatch.8
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/ircd
-BUILD_WRKSRC= ${WRKSRC}/${MACHINE_ARCH}-unknown-freebsd${OSREL}
+BUILD_WRKSRC= ${WRKSRC}/${MACHINE_ARCH}-unknown-${OPSYS:L}${OSREL}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
OPTIONS_DEFINE= IPV6