* Remove code which is only entered when

${OSVERSION} >= 500000 && ${OSVERSION} < 501103
  because this OSVERSION is not supported anymore and the code in question
  includes references to the deprecated port devel/stlport-icc
* Switch to USE_LDCONFIG

Approved by:	maintainer (implicit)
This commit is contained in:
Vasil Dimov 2006-12-20 13:45:00 +00:00
parent 59a026b0f1
commit c90b84d8e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180274

View file

@ -18,34 +18,12 @@ COMMENT= Library for manipulating ID3v1/v1.1 and ID3v2 tags
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
CC_BASENAME= ${CC:T}
# Should run ${CC} -v and check the output instead
.if ${CC_BASENAME} == cc || ${CC_BASENAME} == gcc
COMPILER?= gcc
STLPORT_PORT?= devel/stlport
.elif ${CC_BASENAME} == icc
COMPILER?= icc
STLPORT_PORT?= devel/stlport-icc
.else
STLPORT_PORT?= # empty
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 501103 && !empty(STLPORT_PORT)
RUN_DEPENDS= ${LOCALBASE}/lib/libstlport_${COMPILER}.so:${PORTSDIR}/${STLPORT_PORT}
BUILD_DEPENDS:= ${RUN_DEPENDS}
LDFLAGS+= -lstlport_${COMPILER}
CPPFLAGS+= -I${LOCALBASE}/include/stlport
.endif
post-extract:
@${RM} -rf ${WRKSRC}/zlib
.include <bsd.port.post.mk>
.include <bsd.port.mk>