From owner-freebsd-ports Fri Oct 27 1:33:41 2000 Delivered-To: freebsd-ports@freebsd.org Received: from leviathan.inethouston.com (216-118-21-146.pdq.net [216.118.21.146]) by hub.freebsd.org (Postfix) with ESMTP id D502F37B4C5 for ; Fri, 27 Oct 2000 01:33:37 -0700 (PDT) Received: from dwcjr (DWCJR.inethouston.net [216.118.21.147]) by leviathan.inethouston.com (Postfix) with ESMTP id D1AB1177EB3 for ; Fri, 27 Oct 2000 03:37:56 -0500 (CDT) Message-ID: <061201c03ff1$2dac2ae0$931576d8@inethouston.net> From: "David W. Chapman Jr." To: Subject: New Date: Fri, 27 Oct 2000 03:37:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm new to modifying/creating, I've taken a look at the handbook and also bsd.port.mk and can't figure out why this doesn't work like it should. When i do make USE_FACILITY=something I get this error su-2.04# make USE_FACILITY=something ===> Extracting for isc-dhcp3-3.0.b2.9 >> Checksum OK for dhcp-3.0b2pl9.tar.gz. ===> Patching for isc-dhcp3-3.0.b2.9 ===> Applying FreeBSD patches for isc-dhcp3-3.0.b2.9 Variable USE_FACILITY is recursive. *** Error code 2 When I just do make it does not echo the message I typed for it to echo Any help would be appreciated. # ex:ts=8 # Ports collection makefile for: dhcp # Date created: 7 Mar 1996 # Whom: se # # $FreeBSD: ports/net/isc-dhcp3/Makefile,v 1.43 2000/10/25 19:33:17 obrien Exp $ # PORTNAME= isc-dhcp3 PORTVERSION= 3.0.b2.9 CATEGORIES= net MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/ DISTNAME= dhcp-3.0b2pl${PORTVERSION:S/3.0.b2.//g} MAINTAINER= obrien@FreeBSD.org .if defined(USE_FACILITY) USE_FACILITY= `${ECHO} ${USE_FACILITY} | ${TR} "[:lower:]" "[:upper:]"` .else @${ECHO_MSG} "you can choose which syslog faciliy by setting LOG_FACILITY to: daemon, local0, etc. daemon is the default" USE_FACILITY= DAEMON .endif Y2K= http://www.isc.org/y2k.html HAS_CONFIGURE= yes MAN3= dhcpctl.3 omapi.3 MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-contrib.5 \ dhcp-eval.5 dhcp-options.5 dhcpd.conf.5 \ dhcpd.leases.5 MAN8= dhclient.8 dhclient-script.8 dhcpd.8 dhcrelay.8 post-patch: @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/includes/dhcpd.h @${PERL} -pi.fbsd -e 's.!!USE_FACILITY!!.${USE_FACILITY}.g' ${WRKSRC}/includes/site.h @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/client/scripts/freebsd .for MF in relay/Makefile.dist server/Makefile.dist client/Makefile.dist common/Makefile.dist dhcpctl/Makefile.dist minires/Makefile.dist omapip/Makefile.dist @${PERL} -pi.fbsd -e 's|^DEBUG[ ]*=|DEBUG ?=|g ; s|^CFLAGS[ ]*=|CFLAGS +=|g' ${WRKSRC}/${MF} .endfor post-install: ${TOUCH} /var/db/dhcpd.leases .for file in dhclient dhcpd dhcrelay if [ -f ${PREFIX}/sbin/${file} ]; then \ strip ${PREFIX}/sbin/${file}; \ fi .endfor .include To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message