- Switch to USES=libtool, drop .la files

- Strip libraries
- Use new LIB_DEPENDS syntax
This commit is contained in:
Dmitry Marakasov 2014-07-02 22:26:32 +00:00
parent 70c6ca6e83
commit ae42eaad9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360303
2 changed files with 7 additions and 4 deletions

View file

@ -3,19 +3,22 @@
PORTNAME= shmap
PORTVERSION= 0.3.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Shared-memory-based hashmaps
LIB_DEPENDS= mm.14:${PORTSDIR}/devel/mm
LIB_DEPENDS= libmm.so:${PORTSDIR}/devel/mm
USE_AUTOTOOLS= libtool
USES= libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libshmap.so
.include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
include/shmap.h
include/shmap_config.h
lib/libshmap.a
lib/libshmap.la
lib/libshmap.so
lib/libshmap.so.0
lib/libshmap.so.0.0.0