news/pan: build fix

Don't run configure from autogen.sh.
This commit is contained in:
rhialto 2023-03-28 18:30:37 +00:00
parent 9253838928
commit 886caa68f7

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.130 2023/01/29 21:17:33 ryoon Exp $
# $NetBSD: Makefile,v 1.131 2023/03/28 18:30:37 rhialto Exp $
PKGNAME= pan-0.154
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= news
TAG= ${PKGNAME_NOREV:S/pan-/v/} # e.g. v0.151
MASTER_SITES= https://gitlab.gnome.org/GNOME/pan/-/archive/${TAG}/
@ -9,7 +9,7 @@ EXTRACT_SUFX= .tar.bz2
DISTNAME= pan-${TAG}
MAINTAINER= rhialto@NetBSD.org
HOMEPAGE= http://pan.rebelbase.com/
HOMEPAGE= https://gitlab.gnome.org/GNOME/pan
COMMENT= Newsreader for GTK3
LICENSE= gnu-gpl-v2
@ -21,7 +21,6 @@ USE_TOOLS+= autoconf automake
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-gtk3
CONFIGURE_ARGS+= --with-gnutls
CONFIGURE_ARGS+= --with-gtkspell
@ -33,7 +32,7 @@ LIBS+= -lcompat
LIBS.SunOS+= -lsocket
pre-configure:
cd ${WRKSRC} && ./autogen.sh
cd ${WRKSRC} && NOCONFIGURE=yes ./autogen.sh
# "Build" these files out of thin air, since base msgfmt doesn't know
# about --xml --desktop.