summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-11-02 05:35:39 +0000
committerobache <obache@pkgsrc.org>2014-11-02 05:35:39 +0000
commitddd99a01a4776cbe8158816f2172eb7fd338c6f2 (patch)
tree155e3ba19e08483586be096671c334e86ab801df
parent5b74925a767e9bfc00b5345e75cd2ee213a19e80 (diff)
downloadpkgsrc-ddd99a01a4776cbe8158816f2172eb7fd338c6f2.tar.gz
Fixes unusual MESSAGE_SRC usage.
-rw-r--r--chat/unrealircd/Makefile10
-rw-r--r--chat/unrealircd/options.mk4
2 files changed, 4 insertions, 10 deletions
diff --git a/chat/unrealircd/Makefile b/chat/unrealircd/Makefile
index 9994406c7ac..3ed224fbe2d 100644
--- a/chat/unrealircd/Makefile
+++ b/chat/unrealircd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2014/02/12 23:17:37 tron Exp $
+# $NetBSD: Makefile,v 1.40 2014/11/02 05:35:39 obache Exp $
DISTNAME= Unreal3.2.10.1
PKGNAME= ${DISTNAME:tl:S/l/lircd-/1}
@@ -72,7 +72,7 @@ PKG_HOME.${UIRCD_USER}= ${UIRCD_HOME}
RCD_SCRIPTS= unrealircd
-MESSAGE_SRC+= ${WRKDIR}/.MESSAGE_SRC
+MESSAGE_SRC+= MESSAGE
MESSAGE_SUBST+= UIRCD_HOME=${UIRCD_HOME:Q}
FILES_SUBST+= UIRCD_HOME=${UIRCD_HOME:Q}
FILES_SUBST+= UIRCD_USER=${UIRCD_USER:Q}
@@ -110,12 +110,6 @@ CFLAGS.SunOS+= -DUSE_LOCALE
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/tre/buildlink3.mk"
-post-build:
- ${CP} ${PKGDIR:Q}/MESSAGE ${WRKDIR:Q}/.MESSAGE_SRC
-.if !empty(PKG_OPTIONS:Minet6)
- ${CP} ${PKGDIR:Q}/MESSAGE.inet6 ${WRKDIR:Q}/.MESSAGE_SRC.inet6
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/src/ircd ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC:Q}/aliases/*.conf \
diff --git a/chat/unrealircd/options.mk b/chat/unrealircd/options.mk
index d829fb5dd05..32acabf589b 100644
--- a/chat/unrealircd/options.mk
+++ b/chat/unrealircd/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.12 2013/07/14 15:42:34 rodent Exp $
+# $NetBSD: options.mk,v 1.13 2014/11/02 05:35:39 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.unrealircd
@@ -17,7 +17,7 @@ PKG_SUGGESTED_OPTIONS= unrealircd-showlistmodes unrealircd-prefixaq
###
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-inet6
-MESSAGE_SRC+= ${WRKDIR}/.MESSAGE_SRC.inet6
+MESSAGE_SRC+= MESSAGE_SRC.inet6
.else
CONFIGURE_ARGS+= --disable-inet6
CONFIGURE_ENV+= ac_cv_ip6=no