diff options
author | seb <seb@pkgsrc.org> | 2002-02-07 12:39:12 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-02-07 12:39:12 +0000 |
commit | 14fbb77da0bbea14789516b5b02d9eb64920409a (patch) | |
tree | be0ebb54ae9e22b0fbc874377434456bc46ed2a1 /editors/nvi/Makefile | |
parent | 345fad0a1c498d73259ea41fffa41a751a0cd35d (diff) | |
download | pkgsrc-14fbb77da0bbea14789516b5b02d9eb64920409a.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/Makefile')
-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" |