From ff544766a6f87ea0dc04aac87b71df533444717d Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 26 Jun 2014 12:10:02 +0000 Subject: [PATCH] - Use new LIB_DEPENDS syntax - Switch to USES=libtool, drop .la files Approved by: portmgr blanket --- textproc/senna/Makefile | 5 +++-- textproc/senna/pkg-plist | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/textproc/senna/Makefile b/textproc/senna/Makefile index 3f025ddd8c8e..595155b23d17 100644 --- a/textproc/senna/Makefile +++ b/textproc/senna/Makefile @@ -2,6 +2,7 @@ PORTNAME= senna PORTVERSION= 1.1.5 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} @@ -12,7 +13,7 @@ COMMENT= Embeddable Fulltext Search Engine GNU_CONFIGURE= YES USE_GCC= any -USES= gmake +USES= gmake libtool USE_LDCONFIG= YES CONFIGURE_ARGS= --with-sennahome=${SENNA_HOME} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} @@ -34,7 +35,7 @@ BROKEN= Does not compile on ${ARCH} .if ${PORT_OPTIONS:MMECAB} CONFIGURE_ARGS+= --with-mecab -LIB_DEPENDS+= mecab:${PORTSDIR}/japanese/mecab +LIB_DEPENDS+= libmecab.so:${PORTSDIR}/japanese/mecab .else CONFIGURE_ARGS+= --without-mecab .endif diff --git a/textproc/senna/pkg-plist b/textproc/senna/pkg-plist index 84f86ffd55c9..03a1486a8def 100644 --- a/textproc/senna/pkg-plist +++ b/textproc/senna/pkg-plist @@ -4,8 +4,8 @@ bin/sennachk include/senna/senna.h lib/pkgconfig/senna.pc lib/libsenna.a -lib/libsenna.la lib/libsenna.so lib/libsenna.so.0 +lib/libsenna.so.0.0.0 @dirrm include/senna @dirrmtry lib/pkgconfig