From 1c98b11fe7d815226f239fb6439f45faac6ec36d Mon Sep 17 00:00:00 2001 From: tijl Date: Sun, 19 Apr 2015 20:01:07 +0000 Subject: Patch configure.ac so it can detect a more recent gettext Reported by: antoine --- textproc/sdcv/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/textproc/sdcv/Makefile b/textproc/sdcv/Makefile index 5345a2390c3..f2f92b19758 100644 --- a/textproc/sdcv/Makefile +++ b/textproc/sdcv/Makefile @@ -19,7 +19,7 @@ USE_GNOME= glib20 SUB_FILES= pkg-message CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib post-patch: .for i in doc/sdcv.1 src/sdcv.cpp @@ -30,9 +30,8 @@ post-patch: 's|@mandir@/uk|@mandir@|' ${WRKSRC}/doc/uk/Makefile.am @${REINPLACE_CMD} -e \ 's|getopt1.c getopt.h||' ${WRKSRC}/src/Makefile.am - -pre-configure: - @${RM} -f ${WRKSRC}/m4/gettext.m4 @${RM} -f ${WRKSRC}/src/getopt.h + @${REINPLACE_CMD} '/AM_GNU_GETTEXT_VERSION/s/0\.14\.1/0.19.1/' \ + ${WRKSRC}/configure.ac .include -- cgit