diff options
author | jlam <jlam> | 2000-09-06 08:16:14 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-09-06 08:16:14 +0000 |
commit | f808018ae79017c96a7022ecb685c54794299f80 (patch) | |
tree | 94f7b7c0ec42d5dc353173f9402bd3f3051f4986 /editors/vile/Makefile | |
parent | 66f30fdef1925e43275815a89687da9c449148ad (diff) | |
download | pkgsrc-f808018ae79017c96a7022ecb685c54794299f80.tar.gz |
Add PERL_POLLUTE to compile correctly with perl>=5.6.0 until source catches
up with latest perl API. While here, modify the builds so that vile and
xvile don't conflict when xpkgwedge is installed.
Fixes pkg/10947 by Matthias Scheler <tron@lyssa.zhadum.de>.
Diffstat (limited to 'editors/vile/Makefile')
-rw-r--r-- | editors/vile/Makefile | 44 |
1 files changed, 28 insertions, 16 deletions
diff --git a/editors/vile/Makefile b/editors/vile/Makefile index dfb1a3b05a5..452682d6e13 100644 --- a/editors/vile/Makefile +++ b/editors/vile/Makefile @@ -1,37 +1,49 @@ -# $NetBSD: Makefile,v 1.19 2000/02/05 18:30:59 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2000/09/06 08:16:14 jlam Exp $ # FreeBSD Id: Makefile,v 1.13 1997/09/06 19:55:09 gj Exp -DISTNAME= vile-9.0 -CATEGORIES= editors -MASTER_SITES= ftp://ftp.clark.net/pub/dickey/vile/ \ - ftp://ftp.uni-trier.de/pub/unix/editor/vile/ \ - ftp://ftp.phred.org/pub/vile/ -EXTRACT_SUFX= .tgz +DISTNAME= vile-9.0 +CATEGORIES= editors +MASTER_SITES= ftp://ftp.clark.net/pub/dickey/vile/ \ + ftp://ftp.uni-trier.de/pub/unix/editor/vile/ \ + ftp://ftp.phred.org/pub/vile/ +EXTRACT_SUFX= .tgz -MAINTAINER= packages@netbsd.org +MAINTAINER= packages@netbsd.org + +USE_PERL5= # defined + +GNU_CONFIGURE= # defined +CONFIGURE_ARGS+= --with-perl +CONFIGURE_ARGS+= --datadir=${DATADIR} +CONFIGURE_ARGS+= --with-libdir-path=${FILTERDIR} + +# Until the source catches up to the current Perl API, we need PERL_POLLUTE +# to look like an older perl. +CPPFLAGS+= -DPERL_POLLUTE=1 +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" MAKEFILE= makefile -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-perl \ - --with-libdir-path=${PREFIX}/libexec -USE_PERL5= yes +INSTALL_TARGET= install install-perl -INSTALL_TARGET= install install-perl +DATADIR= ${PREFIX}/share/vile +FILTERDIR= ${PREFIX}/libexec/vile +EGDIR= ${PREFIX}/share/examples/vile .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" DEPENDS+= ncurses>=4.2:../../devel/ncurses -CFLAGS+= -DHAVE_NCURSES_H +CPPFLAGS+= -DHAVE_NCURSES_H CONFIGURE_ARGS+= --with-screen=ncurses .endif post-install: - -@${MKDIR} ${PREFIX}/share/examples/vile + @${INSTALL_SCRIPT} ${WRKSRC}/perl/vileget ${PREFIX}/bin/vileget + @${INSTALL_DATA_DIR} ${EGDIR} @for f in filters/spell.rc filters/filters.rc \ macros/digraphs.rc macros/pictmode.rc \ macros/manpage.rc visvile/visvile.rc; do \ - ${BSD_INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/examples/vile; \ + ${INSTALL_DATA} ${WRKSRC}/$$f ${EGDIR}; \ done .include "../../mk/bsd.pkg.mk" |