diff options
author | tijl <tijl@FreeBSD.org> | 2015-04-20 04:01:07 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2015-04-20 04:01:07 +0800 |
commit | 1c98b11fe7d815226f239fb6439f45faac6ec36d (patch) | |
tree | 4fe73c29293eda259dc0f8c05277605ec97200ec | |
parent | 6999e19fd94b2581b8539ac7b2c1c23c1be14312 (diff) | |
download | freebsd-ports-graphics-1c98b11fe7d815226f239fb6439f45faac6ec36d.tar.gz freebsd-ports-graphics-1c98b11fe7d815226f239fb6439f45faac6ec36d.tar.zst freebsd-ports-graphics-1c98b11fe7d815226f239fb6439f45faac6ec36d.zip |
Patch configure.ac so it can detect a more recent gettext
Reported by: antoine
-rw-r--r-- | textproc/sdcv/Makefile | 7 |
1 files 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 <bsd.port.mk> |