svn commit: r494313 - in head/graphics: sdl2_image sdl_image
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Mar 1 19:18:58 UTC 2019
Author: amdmi3
Date: Fri Mar 1 19:18:57 2019
New Revision: 494313
URL: https://svnweb.freebsd.org/changeset/ports/494313
Log:
- Switch sdl_image and sdl2_image from dynamic loading of dependency
libraries to normal shared linking
- While here, add USES=sdl and localbase add LICENSE_FILE and strip library
PR: 196099
Submitted by: jbeich
Modified:
head/graphics/sdl2_image/Makefile
head/graphics/sdl_image/Makefile
Modified: head/graphics/sdl2_image/Makefile
==============================================================================
--- head/graphics/sdl2_image/Makefile Fri Mar 1 19:14:38 2019 (r494312)
+++ head/graphics/sdl2_image/Makefile Fri Mar 1 19:18:57 2019 (r494313)
@@ -2,6 +2,7 @@
PORTNAME= sdl2_image
PORTVERSION= 2.0.4
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/
DISTNAME= SDL2_image-${PORTVERSION}
@@ -12,9 +13,11 @@ COMMENT= Simple library to load images of various form
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-USES= pkgconfig:build pathfix gmake libtool localbase
+USES= gmake libtool localbase pkgconfig pathfix sdl
USE_SDL= sdl2
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-jpg-shared --disable-png-shared \
+ --disable-tif-shared --disable-webp-shared
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
Modified: head/graphics/sdl_image/Makefile
==============================================================================
--- head/graphics/sdl_image/Makefile Fri Mar 1 19:14:38 2019 (r494312)
+++ head/graphics/sdl_image/Makefile Fri Mar 1 19:18:57 2019 (r494313)
@@ -3,7 +3,7 @@
PORTNAME= sdl_image
PORTVERSION= 1.2.12
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/
DISTNAME= SDL_image-${PORTVERSION}
@@ -12,12 +12,14 @@ MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= Simple library to load images of various formats as SDL surfaces
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake libtool pkgconfig pathfix
+USES= gmake libtool localbase pkgconfig pathfix sdl
USE_SDL= sdl
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib -lm
+CONFIGURE_ARGS= --disable-jpg-shared --disable-png-shared \
+ --disable-tif-shared --disable-webp-shared
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= JPEG PNG TIFF WEBP
More information about the svn-ports-all
mailing list