Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 12:27:40 +1100 (EST)
From:      Andrew <andrew@ugh.net.au>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Bas Kruit <baskruit@bsltwr.net.dhis.org>
Subject:   ports/34469: net/dhisd port doesn't install
Message-ID:  <20020131012740.29B13A826@starbug.ugh.net.au>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020131012740.29B13A826>