From owner-cvs-ports@FreeBSD.ORG Mon Jul 14 21:09:12 2003 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F024637B401 for ; Mon, 14 Jul 2003 21:09:12 -0700 (PDT) Received: from i232230.ap.plala.or.jp (i232230.ap.plala.or.jp [218.47.232.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2689543F75 for ; Mon, 14 Jul 2003 21:09:12 -0700 (PDT) (envelope-from sf@FreeBSD.org) Date: Tue, 15 Jul 2003 13:09:12 +0900 Message-ID: <86u19owhw7.wl%sf@FreeBSD.org> From: FUJISHIMA Satsuki To: Melvyn Sopacua In-Reply-To: <200307150138.33572.freebsd-ports@webteckies.org> References: <200307140237.h6E2bomh009967@repoman.freebsd.org> <200307141304.36776.freebsd-ports@webteckies.org> <86u19pqfol.wl%sf@FreeBSD.org> <200307150138.33572.freebsd-ports@webteckies.org> Mail-Followup-To: Melvyn Sopacua , cvs-ports@FreeBSD.org User-Agent: Wanderlust/2.11.3 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.5 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: cvs-ports@FreeBSD.org Subject: Re: cvs commit: ports/x11/cnslock Makefile ports/x11/cnslock/files patch-Makefile patch-cnslock.c X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 04:09:13 -0000 At Tue, 15 Jul 2003 01:38:33 +0200, Melvyn Sopacua wrote: > If I comment out: > GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; make -V WRKSRC > > All goes well. Good catch. Due to "!="'s speciality in make syntax, it shuold be appearred after bsd.port.pre.mk where PORTSDIR is defined. I predefine PORTSDIR in /etc/make.conf so your problem couldn't be reproduced here in my jail. Please try this. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/x11/xstroke/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 14 Jul 2003 02:37:54 -0000 1.10 +++ Makefile 15 Jul 2003 04:05:24 -0000 @@ -24,7 +24,10 @@ CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; make -V WRKSRC + +.include + +GETOPTDIR!= cd ${PORTSDIR}/devel/libgnugetopt; ${MAKE} -V WRKSRC MAN1= xstroke.1 @@ -33,4 +36,4 @@ @${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h ${CP} ${GETOPTDIR}/getopt* ${WRKSRC} -.include +.include