From 10a80290b26611b279931ce027f09a8ef3f24641 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Thu, 24 Apr 2014 17:33:30 +0000 Subject: [PATCH] - Convert to USES=libtool. - Use LDFLAGS instead of LIBS. --- graphics/corona/Makefile | 14 ++++---------- graphics/corona/pkg-plist | 1 - 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/graphics/corona/Makefile b/graphics/corona/Makefile index 63528eeff64b..d079c4dd99d0 100644 --- a/graphics/corona/Makefile +++ b/graphics/corona/Makefile @@ -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 diff --git a/graphics/corona/pkg-plist b/graphics/corona/pkg-plist index 3bd7184106b0..40feabaa7216 100644 --- a/graphics/corona/pkg-plist +++ b/graphics/corona/pkg-plist @@ -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