Date: Tue, 15 Jul 2003 13:09:12 +0900 From: FUJISHIMA Satsuki <sf@FreeBSD.org> To: Melvyn Sopacua <freebsd-ports@webteckies.org> Cc: cvs-ports@FreeBSD.org Subject: Re: cvs commit: ports/x11/cnslock Makefile ports/x11/cnslock/files patch-Makefile patch-cnslock.c Message-ID: <86u19owhw7.wl%sf@FreeBSD.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> + +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 <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86u19owhw7.wl%sf>