From 6d2b40750de77007f6c1701d7d90f05fd260badd Mon Sep 17 00:00:00 2001 From: seb Date: Thu, 7 Feb 2002 12:39:12 +0000 Subject: Avoid MVs in $PREFIX at post-install stage by using `--program-transform-name=...' (and not `--program-prefix=...' which triggers a sed lossage, fixed in -current as of 2002/01/14 it seems). --- editors/nvi/Makefile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile index 704a916a5aa..fb2dedddaba 100644 --- a/editors/nvi/Makefile +++ b/editors/nvi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2002/01/13 10:35:20 aymeric Exp $ +# $NetBSD: Makefile,v 1.3 2002/02/07 12:39:12 seb Exp $ # DISTNAME= nvi-1.81.5 @@ -13,6 +13,7 @@ COMMENT= Berkeley nvi with additional features GNU_CONFIGURE= YES CONFIGURE_SCRIPT= ../dist/configure CONFIGURE_ARGS+= --with-db3=${BUILDLINK_DIR} +CONFIGURE_ARGS+= --program-transform-name='s,^,n,' USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/../dist/ltconfig @@ -20,20 +21,5 @@ USE_BUILDLINK_ONLY= YES WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix -# --program-prefix doesn't work because of a problem with sed -post-install: - cd ${PREFIX}/bin && \ - ${MV} vi nvi && \ - ${MV} ex nex && \ - ${MV} view nview - cd ${PREFIX}/man/cat1 && \ - ${MV} vi.0 nvi.0 && \ - ${MV} ex.0 nex.0 && \ - ${MV} view.0 nview.0 - cd ${PREFIX}/man/man1 && \ - ${MV} vi.1 nvi.1 && \ - ${MV} ex.1 nex.1 && \ - ${MV} view.1 nview.1 - .include "../../databases/db3/buildlink.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3