diff options
author | seb <seb> | 2002-02-07 12:39:12 +0000 |
---|---|---|
committer | seb <seb> | 2002-02-07 12:39:12 +0000 |
commit | 6d2b40750de77007f6c1701d7d90f05fd260badd (patch) | |
tree | be0ebb54ae9e22b0fbc874377434456bc46ed2a1 /editors/nvi | |
parent | c220aa483e1c1ebd90ea6f8cef8eca470a20f92c (diff) | |
download | pkgsrc-6d2b40750de77007f6c1701d7d90f05fd260badd.tar.gz |
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).
Diffstat (limited to 'editors/nvi')
-rw-r--r-- | editors/nvi/Makefile | 18 |
1 files 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" |