Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2015 12:09:54 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397110 - in head/games/scummvm: . files
Message-ID:  <201509171209.t8HC9sZD068181@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Sep 17 12:09:53 2015
New Revision: 397110
URL: https://svnweb.freebsd.org/changeset/ports/397110

Log:
  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)

Added:
  head/games/scummvm/files/
  head/games/scummvm/files/patch-configure   (contents, props changed)
Modified:
  head/games/scummvm/Makefile

Modified: head/games/scummvm/Makefile
==============================================================================
--- head/games/scummvm/Makefile	Thu Sep 17 12:00:50 2015	(r397109)
+++ head/games/scummvm/Makefile	Thu Sep 17 12:09:53 2015	(r397110)
@@ -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 \

Added: head/games/scummvm/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/scummvm/files/patch-configure	Thu Sep 17 12:09:53 2015	(r397110)
@@ -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???
+ 		;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509171209.t8HC9sZD068181>