diff options
author | John Marino <marino@FreeBSD.org> | 2015-09-17 12:09:53 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-09-17 12:09:53 +0000 |
commit | 585cd852ba5151f9983569368f585df1c1a4609f (patch) | |
tree | dd635e271a4fce695445756220c847c75b690378 /games/scummvm | |
parent | 1442137298ccee65b6a1c2102bfac423322948f4 (diff) | |
download | ports-585cd852ba5151f9983569368f585df1c1a4609f.tar.gz ports-585cd852ba5151f9983569368f585df1c1a4609f.zip |
Notes
Diffstat (limited to 'games/scummvm')
-rw-r--r-- | games/scummvm/Makefile | 1 | ||||
-rw-r--r-- | games/scummvm/files/patch-configure | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile index 9940d6256e46..87453cf14859 100644 --- a/games/scummvm/Makefile +++ b/games/scummvm/Makefile @@ -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 \ diff --git a/games/scummvm/files/patch-configure b/games/scummvm/files/patch-configure new file mode 100644 index 000000000000..84b9cd8ac4a2 --- /dev/null +++ b/games/scummvm/files/patch-configure @@ -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??? + ;; |