1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

games/scummvm: set jpeg base, support DragonFly

Set the prefix for new jpeg dependenncy for those compilers that
need it.  While here, incorporate dports configure patch to support
DragonFly.

Approved by:	maintainer (lme)
This commit is contained in:
John Marino 2015-09-17 12:09:53 +00:00
parent 1442137298
commit 585cd852ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397110
2 changed files with 26 additions and 0 deletions

View File

@ -15,6 +15,7 @@ HAS_CONFIGURE= yes
USE_SDL= sdl
CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE} \
--with-jpeg-prefix=${LOCALBASE} \
--disable-alsa \
--with-zlib-prefix=/usr \
--disable-debug \

View File

@ -0,0 +1,25 @@
--- configure.orig 2015-09-17 05:07:32 UTC
+++ configure
@@ -2300,9 +2300,9 @@ case $_host_os in
LDFLAGS="$LDFLAGS -L$DEVKITPRO/libnds/lib"
LIBS="$LIBS -lnds9"
;;
- freebsd*)
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
- CXXFLAGS="$CXXFLAGS -I/usr/local/include"
+ dragonfly*|freebsd*)
+ LDFLAGS="$LDFLAGS -L$(prefix)/lib"
+ CXXFLAGS="$CXXFLAGS -I$(prefix)/include"
;;
gamecube)
_optimization_level=-Os
@@ -3106,6 +3106,9 @@ case $_host_os in
android | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | solaris* | sunos* | uclinux* | webos)
_posix=yes
;;
+ dragonfly*)
+ _posix=yes
+ ;;
os2-emx*)
_posix=yes # FIXME: Really???
;;