diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2019-03-01 19:18:57 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2019-03-01 19:18:57 +0000 |
commit | b735a8d15ba7492318d2d7d34c067b9ae1b2c155 (patch) | |
tree | ded78871a513d81348ec7f62b964b5bc546c7097 /graphics/sdl2_image | |
parent | 5e1e05f2d800e46cfe771837eb971b8098b65e54 (diff) | |
download | ports-b735a8d15ba7492318d2d7d34c067b9ae1b2c155.tar.gz ports-b735a8d15ba7492318d2d7d34c067b9ae1b2c155.zip |
- 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
Notes
Notes:
svn path=/head/; revision=494313
Diffstat (limited to 'graphics/sdl2_image')
-rw-r--r-- | graphics/sdl2_image/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/sdl2_image/Makefile b/graphics/sdl2_image/Makefile index 08e6b3165d9d..dc5943fec92c 100644 --- a/graphics/sdl2_image/Makefile +++ b/graphics/sdl2_image/Makefile @@ -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 formats as SDL surfaces 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 |