pkgsrc/net/ncgopher/Makefile
pin 5cda027a5b net/ncgopher: rev bump, fix broken builds
Both mef and jperkin have reported broken builds for ncgopher
after rust update to 1.54.0

I've contacted upstream and they have updated the dependencies
but, no new release.
https://github.com/jansc/ncgopher/issues/35

The package builds fine on my 9.99.88 amd64 now.
2021-09-13 20:32:35 +00:00

36 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2021/09/13 20:32:35 pin Exp $
DISTNAME= ncgopher-0.2.0
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=jansc/}
#GITHUB_TAG= v${PKGVERSION_NOREV}
GITHUB_PROJECT= ncgopher
GITHUB_TAG= 2b4f666882a397b6e859d655ff88dfdf268cee4e
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/jansc/ncgopher/
COMMENT= Gopher and gemini client for the modern internet
LICENSE= 2-clause-bsd
.include "cargo-depends.mk"
USE_TOOLS+= pkg-config
USE_NCURSES= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.ncursesw}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/ncgopher ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ncgopher.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../lang/rust/cargo.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/ncursesw/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"