Date: Mon, 1 Jul 2002 08:20:05 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/39765: bsd.incs.mk, INCDIR or INCSDIR ? Message-ID: <200207011520.g61FK55d051535@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/39765; it has been noted by GNATS. From: Ruslan Ermilov <ru@FreeBSD.org> To: Ying-Chieh Liao <ijliao@terry.dragon2.net> Cc: bug-followup@FreeBSD.org Subject: Re: misc/39765: bsd.incs.mk, INCDIR or INCSDIR ? Date: Mon, 1 Jul 2002 18:16:34 +0300 On Mon, Jun 24, 2002 at 03:18:40PM +0800, Ying-Chieh Liao wrote: > > ports/graphics/libmng uses bsd.lib.mk, which uses bsd.incs.mk > if we use INCDIR to specify where to install include files > stable will install them into /usr/local/include <- correct > but current installs into /usr/include > if we use INCSDIR , > stable will install them into /usr/include > but current installs into /usr/local/include <- correct > Here's the technique we used with many similar ports: %%% Index: Makefile.bsd =================================================================== RCS file: /home/ncvs/ports/graphics/libmng/files/Makefile.bsd,v retrieving revision 1.4 diff -u -r1.4 Makefile.bsd --- Makefile.bsd 16 Jul 2001 21:23:11 -0000 1.4 +++ Makefile.bsd 1 Jul 2002 15:14:12 -0000 @@ -11,7 +11,8 @@ CFLAGS+= -I${INCDIR} -DMNG_FULL_CMS INCS= libmng.h libmng_conf.h libmng_types.h -INCDIR= ${LOCALBASE}/include +INCSDIR= ${LOCALBASE}/include +INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk LIBDIR= ${LOCALBASE}/lib .include <bsd.lib.mk> %%% Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207011520.g61FK55d051535>