From owner-freebsd-ports Wed Jan 30 17:30:11 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7888337B416 for ; Wed, 30 Jan 2002 17:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0V1U1Q52084; Wed, 30 Jan 2002 17:30:01 -0800 (PST) (envelope-from gnats) Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 7F6B637B402 for ; Wed, 30 Jan 2002 17:27:42 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 0) id 29B13A826; Thu, 31 Jan 2002 12:27:40 +1100 (EST) Message-Id: <20020131012740.29B13A826@starbug.ugh.net.au> Date: Thu, 31 Jan 2002 12:27:40 +1100 (EST) From: Andrew Reply-To: Andrew To: FreeBSD-gnats-submit@freebsd.org Cc: Bas Kruit X-Send-Pr-Version: 3.113 Subject: ports/34469: net/dhisd port doesn't install Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34469 >Category: ports >Synopsis: net/dhisd port doesn't install >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 30 17:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Andrew >Release: FreeBSD 4.5-STABLE i386 >Organization: UgH! >Environment: System: FreeBSD starbug.ugh.net.au 4.5-STABLE FreeBSD 4.5-STABLE #4: Wed Jan 30 17:17:14 EST 2002 andrew@starbug.ugh.net.au:/usr/obj/usr/src/sys/STARBUG i386 >Description: The net/dhisd port won't install due to apparent typos in the Makefile. I have fixed these and also change some ${ECHO}s to ${ECHO_MSG}s as that seems to be more appropriate based on comments in bsd.port.mk. >How-To-Repeat: cd /usr/ports/net/dhisd make && make install >Fix: diff -ruN /usr/ports/net/dhisd/Makefile dhisd/Makefile --- /usr/ports/net/dhisd/Makefile Wed Jan 30 04:45:06 2002 +++ dhisd/Makefile Thu Jan 31 12:18:42 2002 @@ -22,13 +22,13 @@ do-install: post-install: - ${ECHO} "===> Installing ${PREFIX}/bin/dhisd." + ${ECHO_MSG} "===> Installing ${PREFIX}/bin/dhisd." ${INSTALL_PROGRAM} ${WRKSRC}/dhisd ${PREFIX}/bin - @${ECH_CMDO} "bin/dhisd" >> ${TMPPLIST} - ${ECHO} "===> Installing ${PREFIX}/bin/genkeys." + @${ECHO_CMD} "bin/dhisd" >> ${TMPPLIST} + ${ECHO_MSG} "===> Installing ${PREFIX}/bin/genkeys." ${INSTALL_PROGRAM} ${WRKSRC}/genkeys ${PREFIX}/bin - @${ECH_CMDO} "bin/genkeys" >> ${TMPPLIST} - ${ECHO} "===> Creating ${PREFIX}/etc/dhis and installing sample db files." + @${ECHO_CMD} "bin/genkeys" >> ${TMPPLIST} + ${ECHO_MSG} "===> Creating ${PREFIX}/etc/dhis and installing sample db files." @${MKDIR} ${PREFIX}/etc/dhis @${CHMOD} 700 ${PREFIX}/etc/dhis @${INSTALL_DATA} ${WRKSRC}/dhis.db.sample ${PREFIX}/etc/dhis/dhis.db.sample @@ -38,12 +38,12 @@ @${CHMOD} 600 ${PREFIX}/etc/dhis/* @${ECHO_CMD} "@dirrm etc/dhis" >> ${TMPPLIST} .if !exists(${PREFIX}/etc/rc.d/dhisd.sh) - ${ECHO} "===> Installing ${PREFIX}/etc/rc.d/dhid.sh startup file." + ${ECHO_MSG} "===> Installing ${PREFIX}/etc/rc.d/dhid.sh startup file." ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/dhisd.sh ${PREFIX}/etc/rc.d/dhisd.sh @${ECHO_CMD} "etc/rc.d/dhisd.sh" >> ${TMPPLIST} .endif .if !defined(NOPORTDOCS) - ${ECHO} "===> Installing documentation in ${DOCSDIR}" + ${ECHO_MSG} "===> Installing documentation in ${DOCSDIR}" @${MKDIR} ${DOCSDIR} @${CHMOD} 755 ${DOCSDIR} .for DOCFILE in ${DOCFILES} >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message