diff options
author | roy <roy> | 2013-10-17 08:36:00 +0000 |
---|---|---|
committer | roy <roy> | 2013-10-17 08:36:00 +0000 |
commit | f406d5f03bedd8be4603ccab11e15811a73b1dfc (patch) | |
tree | 2a58d6dbce71051e884e54cfb648cbe16903ce6e /filesystems | |
parent | 6e17bf05049d0ab7141f256a6390828b2aacb138 (diff) | |
download | pkgsrc-f406d5f03bedd8be4603ccab11e15811a73b1dfc.tar.gz |
Just uses readline, not ncurses
Diffstat (limited to 'filesystems')
-rw-r--r-- | filesystems/fuse-afpfs-ng/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/filesystems/fuse-afpfs-ng/Makefile b/filesystems/fuse-afpfs-ng/Makefile index 0666b8ccfb5..b87139e352a 100644 --- a/filesystems/fuse-afpfs-ng/Makefile +++ b/filesystems/fuse-afpfs-ng/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2013/07/15 02:02:22 ryoon Exp $ +# $NetBSD: Makefile,v 1.12 2013/10/17 08:36:00 roy Exp $ DISTNAME= afpfs-ng-0.8.1 PKGNAME= fuse-${DISTNAME} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= filesystems MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=afpfs-ng/} EXTRACT_SUFX= .tar.bz2 @@ -18,9 +18,18 @@ USE_LANGUAGES= c c++ REPLACE_SH+= fuse/afpfs -.include "../../devel/gmp/buildlink3.mk" -.include "../../devel/ncurses/buildlink3.mk" .include "../../mk/readline.buildlink3.mk" + +SUBST_CLASSES+= termcap +SUBST_STAGE.termcap= post-patch +SUBST_FILES.termcap= configure.ac configure cmdline/Makefile.* +.if ${TERMCAP_TYPE} == none +SUBST_SED.termcap+= -e 's|ncurses||' +.else +SUBST_SED.termcap+= -e 's|ncurses|${BUILDLINK_LIBNAME.termcap}|' +.endif + +.include "../../devel/gmp/buildlink3.mk" .include "../../security/libgpg-error/buildlink3.mk" .include "../../security/libgcrypt/buildlink3.mk" |