Remove sdlconf_args from CONFIGURE_ENV.
Switch to new DEPENDS/REVISION. from Brad
This commit is contained in:
parent
d5ff6f7492
commit
357d7cb570
@ -1,9 +1,10 @@
|
|||||||
# $OpenBSD: Makefile,v 1.30 2010/07/09 09:20:53 sthen Exp $
|
# $OpenBSD: Makefile,v 1.31 2010/09/02 07:04:15 ajacoutot Exp $
|
||||||
|
|
||||||
COMMENT= SDL image library
|
COMMENT= SDL image library
|
||||||
|
|
||||||
DISTNAME= SDL_image-1.2.10
|
DISTNAME= SDL_image-1.2.10
|
||||||
PKGNAME= ${DISTNAME:L:S/_/-/}
|
PKGNAME= ${DISTNAME:L:S/_/-/}
|
||||||
|
REVISION= 0
|
||||||
CATEGORIES= devel graphics
|
CATEGORIES= devel graphics
|
||||||
MASTER_SITES= ftp://ftp.fr.freebsd.org/pub/FreeBSD/distfiles/ \
|
MASTER_SITES= ftp://ftp.fr.freebsd.org/pub/FreeBSD/distfiles/ \
|
||||||
http://www.libsdl.org/projects/SDL_image/release/
|
http://www.libsdl.org/projects/SDL_image/release/
|
||||||
@ -17,13 +18,14 @@ PERMIT_PACKAGE_CDROM= Yes
|
|||||||
PERMIT_PACKAGE_FTP= Yes
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
PERMIT_DISTFILES_CDROM= Yes
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
PERMIT_DISTFILES_FTP= Yes
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
WANTLIB= m sndio usbhid z
|
|
||||||
|
WANTLIB= SDL jpeg m png tiff sndio usbhid z
|
||||||
|
|
||||||
MODULES= converters/libiconv
|
MODULES= converters/libiconv
|
||||||
LIB_DEPENDS= SDL::devel/sdl \
|
LIB_DEPENDS= ::devel/sdl \
|
||||||
png.>=2::graphics/png \
|
::graphics/jpeg \
|
||||||
tiff.>=35::graphics/tiff \
|
::graphics/png \
|
||||||
jpeg.>=62.::graphics/jpeg
|
::graphics/tiff
|
||||||
|
|
||||||
USE_LIBTOOL= Yes
|
USE_LIBTOOL= Yes
|
||||||
CONFIGURE_STYLE=gnu
|
CONFIGURE_STYLE=gnu
|
||||||
@ -31,8 +33,7 @@ CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
|||||||
--disable-jpg-shared \
|
--disable-jpg-shared \
|
||||||
--disable-png-shared \
|
--disable-png-shared \
|
||||||
--disable-tif-shared
|
--disable-tif-shared
|
||||||
CONFIGURE_ENV+= CPPFLAGS="-I${DEPBASE}/include/libpng -I${DEPBASE}/include" \
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
|
||||||
LDFLAGS="-L${X11BASE}/lib" \
|
LDFLAGS="-L${LOCALBASE}/lib"
|
||||||
sdlconf_args=--prefix=${DEPBASE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user