From bce3fb4eb4d274d6c7633cccd3dcf74e0a572e36 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Mon, 14 Jul 2014 18:35:43 +0000 Subject: [PATCH] - Add USES=libtool and INSTALL_TARGET=install-strip - Set CPPFLAGS/LIBS instead of CFLAGS --- net/libexosip2/Makefile | 6 +++++- net/libexosip2/pkg-plist | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/net/libexosip2/Makefile b/net/libexosip2/Makefile index 7c2aa612831a..363fd126a82d 100644 --- a/net/libexosip2/Makefile +++ b/net/libexosip2/Makefile @@ -3,6 +3,7 @@ PORTNAME= libeXosip2 PORTVERSION= 4.1.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SAVANNAH/exosip @@ -16,11 +17,14 @@ LIB_DEPENDS= libosip2.so:${PORTSDIR}/net/libosip2 CONFLICTS_INSTALL= libeXosip2-legacy-[0-9]* GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +USES= libtool USE_LDCONFIG= yes SHLIB_VER= 11 PLIST_SUB+= SHLIB_VER=${SHLIB_VER} -CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib .include diff --git a/net/libexosip2/pkg-plist b/net/libexosip2/pkg-plist index a88f37ffe55d..eed8f2282036 100644 --- a/net/libexosip2/pkg-plist +++ b/net/libexosip2/pkg-plist @@ -9,7 +9,7 @@ include/eXosip2/eX_setup.h include/eXosip2/eX_subscribe.h include/eXosip2/eXosip.h lib/libeXosip2.a -lib/libeXosip2.la lib/libeXosip2.so lib/libeXosip2.so.%%SHLIB_VER%% +lib/libeXosip2.so.%%SHLIB_VER%%.0.0 @dirrm include/eXosip2