From owner-svn-src-stable@freebsd.org Sat Feb 11 06:25:50 2017 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CAB4CDAEA7; Sat, 11 Feb 2017 06:25:50 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C95881A18; Sat, 11 Feb 2017 06:25:49 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1B6PmKj096992; Sat, 11 Feb 2017 06:25:48 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1B6Pmta096983; Sat, 11 Feb 2017 06:25:48 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201702110625.v1B6Pmta096983@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Sat, 11 Feb 2017 06:25:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r313595 - in stable/10/lib/ncurses: . form formw menu menuw ncurses ncursesw panel panelw X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2017 06:25:50 -0000 Author: ngie Date: Sat Feb 11 06:25:47 2017 New Revision: 313595 URL: https://svnweb.freebsd.org/changeset/base/313595 Log: MFC r312467: Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths This implifies pathing in make/displayed output Modified: stable/10/lib/ncurses/config.mk stable/10/lib/ncurses/form/Makefile stable/10/lib/ncurses/formw/Makefile stable/10/lib/ncurses/menu/Makefile stable/10/lib/ncurses/menuw/Makefile stable/10/lib/ncurses/ncurses/Makefile stable/10/lib/ncurses/ncursesw/Makefile stable/10/lib/ncurses/panel/Makefile stable/10/lib/ncurses/panelw/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/ncurses/config.mk ============================================================================== --- stable/10/lib/ncurses/config.mk Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/config.mk Sat Feb 11 06:25:47 2017 (r313595) @@ -2,25 +2,25 @@ # This Makefile is shared by libncurses, libform, libmenu, libpanel. -NCURSES_DIR= ${.CURDIR}/../../../contrib/ncurses +NCURSES_DIR= ${SRCTOP}/contrib/ncurses .if defined(ENABLE_WIDEC) LIB_SUFFIX= w CFLAGS+= -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC -NCURSES_CFG_H= ${.CURDIR}/../ncurses/ncurses_cfg.h +NCURSES_CFG_H= ${.CURDIR:H}/ncurses/ncurses_cfg.h .else LIB_SUFFIX= NCURSES_CFG_H= ${.CURDIR}/ncurses_cfg.h .endif CFLAGS+= -I. -.if exists(${.OBJDIR}/../ncurses${LIB_SUFFIX}) -CFLAGS+= -I${.OBJDIR}/../ncurses${LIB_SUFFIX} +.if exists(${.OBJDIR:H}/ncurses${LIB_SUFFIX}) +CFLAGS+= -I${.OBJDIR:H}/ncurses${LIB_SUFFIX} .endif -CFLAGS+= -I${.CURDIR}/../ncurses${LIB_SUFFIX} +CFLAGS+= -I${.CURDIR:H}/ncurses${LIB_SUFFIX} # for ${NCURSES_CFG_H} -CFLAGS+= -I${.CURDIR}/../ncurses +CFLAGS+= -I${.CURDIR:H}/ncurses CFLAGS+= -I${NCURSES_DIR}/include CFLAGS+= -I${NCURSES_DIR}/ncurses Modified: stable/10/lib/ncurses/form/Makefile ============================================================================== --- stable/10/lib/ncurses/form/Makefile Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/form/Makefile Sat Feb 11 06:25:47 2017 (r313595) @@ -1,6 +1,6 @@ # $FreeBSD$ -.include "${.CURDIR}/../config.mk" +.include "${.CURDIR:H}/config.mk" SRCDIR= ${NCURSES_DIR}/form Modified: stable/10/lib/ncurses/formw/Makefile ============================================================================== --- stable/10/lib/ncurses/formw/Makefile Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/formw/Makefile Sat Feb 11 06:25:47 2017 (r313595) @@ -2,4 +2,4 @@ ENABLE_WIDEC= -.include "${.CURDIR}/../form/Makefile" +.include "${.CURDIR:H}/form/Makefile" Modified: stable/10/lib/ncurses/menu/Makefile ============================================================================== --- stable/10/lib/ncurses/menu/Makefile Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/menu/Makefile Sat Feb 11 06:25:47 2017 (r313595) @@ -1,6 +1,6 @@ # $FreeBSD$ -.include "${.CURDIR}/../config.mk" +.include "${.CURDIR:H}/config.mk" SRCDIR= ${NCURSES_DIR}/menu Modified: stable/10/lib/ncurses/menuw/Makefile ============================================================================== --- stable/10/lib/ncurses/menuw/Makefile Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/menuw/Makefile Sat Feb 11 06:25:47 2017 (r313595) @@ -2,4 +2,4 @@ ENABLE_WIDEC= -.include "${.CURDIR}/../menu/Makefile" +.include "${.CURDIR:H}/menu/Makefile" Modified: stable/10/lib/ncurses/ncurses/Makefile ============================================================================== --- stable/10/lib/ncurses/ncurses/Makefile Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/ncurses/Makefile Sat Feb 11 06:25:47 2017 (r313595) @@ -8,7 +8,7 @@ NO_MAN= .include -.include "${.CURDIR}/../config.mk" +.include "${.CURDIR:H}/config.mk" LIB= ncurses${LIB_SUFFIX} SHLIB_MAJOR= 8 Modified: stable/10/lib/ncurses/ncursesw/Makefile ============================================================================== --- stable/10/lib/ncurses/ncursesw/Makefile Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/ncursesw/Makefile Sat Feb 11 06:25:47 2017 (r313595) @@ -2,6 +2,6 @@ ENABLE_WIDEC= -.PATH: ${.CURDIR}/../ncurses +.PATH: ${.CURDIR:H}/ncurses -.include "${.CURDIR}/../ncurses/Makefile" +.include "${.CURDIR:H}/ncurses/Makefile" Modified: stable/10/lib/ncurses/panel/Makefile ============================================================================== --- stable/10/lib/ncurses/panel/Makefile Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/panel/Makefile Sat Feb 11 06:25:47 2017 (r313595) @@ -1,6 +1,6 @@ # $FreeBSD$ -.include "${.CURDIR}/../config.mk" +.include "${.CURDIR:H}/config.mk" SRCDIR= ${NCURSES_DIR}/panel Modified: stable/10/lib/ncurses/panelw/Makefile ============================================================================== --- stable/10/lib/ncurses/panelw/Makefile Sat Feb 11 06:23:07 2017 (r313594) +++ stable/10/lib/ncurses/panelw/Makefile Sat Feb 11 06:25:47 2017 (r313595) @@ -2,4 +2,4 @@ ENABLE_WIDEC= -.include "${.CURDIR}/../panel/Makefile" +.include "${.CURDIR:H}/panel/Makefile"