1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Convert to USES=libtool.

- Use LDFLAGS instead of LIBS.
This commit is contained in:
Tijl Coosemans 2014-04-24 17:33:30 +00:00
parent 9c0886693c
commit 10a80290b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352029
2 changed files with 4 additions and 11 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= corona
PORTVERSION= 1.0.2
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SF
@ -11,19 +11,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Graphics library that supports most image formats
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libjpeg.so.11:${PORTSDIR}/graphics/jpeg
libjpeg.so:${PORTSDIR}/graphics/jpeg
USE_AUTOTOOLS= libtool
USE_GNOME= lthack
GNU_CONFIGURE= yes
USES= libtool
USE_LDCONFIG= yes
CONFIGURE_ENV= LIBS="${LIBS} -L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
post-patch:
@${REINPLACE_CMD} -e \
's|-Wall||' \
${WRKSRC}/configure
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>

View File

@ -3,5 +3,4 @@ bin/corona-config
include/corona.h
lib/libcorona-1.0.2.so
lib/libcorona.a
lib/libcorona.la
lib/libcorona.so