Fixes unusual MESSAGE_SRC usage.

This commit is contained in:
obache 2014-11-02 05:35:39 +00:00
parent a0cc162fad
commit 98911cbf06
2 changed files with 4 additions and 10 deletions

View file

@ -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 \

View file

@ -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