diff options
-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> |