Index: head/emulators/nonpareil/Makefile =================================================================== --- head/emulators/nonpareil/Makefile (revision 513619) +++ head/emulators/nonpareil/Makefile (revision 513620) @@ -1,42 +1,42 @@ # Created by: trasz # $FreeBSD$ PORTNAME= nonpareil PORTVERSION= 0.79 PORTREVISION= 7 CATEGORIES= emulators MASTER_SITES= http://nonpareil.brouhaha.com/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Simulator for many HP calculators LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= bison pkgconfig scons USE_GNOME= gtk20 libxml2 USE_SDL= sdl PORTDOCS= CREDITS DEBUGGING README TODO OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|%%CFLAGS%%|${CFLAGS}| ; \ s|%%CC%%|${CC}|' ${WRKSRC}/src/SConscript @${REINPLACE_CMD} -E \ - "s|('/usr/local')|\1,PathOption.PathAccept|" ${WRKSRC}/SConstruct + "s|('/usr/local')|\1,PathVariable.PathAccept|" ${WRKSRC}/SConstruct @${REINPLACE_CMD} -e \ 's|||g' ${WRKSRC}/src/*.[cly] post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/emulators/nonpareil/files/patch-SConstruct =================================================================== --- head/emulators/nonpareil/files/patch-SConstruct (nonexistent) +++ head/emulators/nonpareil/files/patch-SConstruct (revision 513620) @@ -0,0 +1,68 @@ +--- SConstruct.orig 2008-08-24 00:37:34 UTC ++++ SConstruct +@@ -24,28 +24,28 @@ release = '0.79' # should get from a fi + conf_file = 'nonpareil.conf' + + #----------------------------------------------------------------------------- +-# Options ++# Variables + #----------------------------------------------------------------------------- + +-opts = Options (conf_file) ++opts = Variables (conf_file) + +-opts.AddOptions (EnumOption ('host', ++opts.AddVariables (EnumVariable ('host', + help = 'host build platform', + allowed_values = ('posix', 'win32'), + default = 'posix', + ignorecase = 1), + +- EnumOption ('target', ++ EnumVariable ('target', + help = 'execution target platform', + allowed_values = ('posix', 'win32'), + default = 'posix', + ignorecase = 1), + +- PathOption ('prefix', ++ PathVariable ('prefix', + 'installation path prefix', + '/usr/local'), + +- # Don't use PathOption for other paths, because we don't ++ # Don't use PathVariable for other paths, because we don't + # require the directories to preexist. + ('bindir', + 'path for executable files (default is $prefix/bin)', +@@ -59,25 +59,25 @@ opts.AddOptions (EnumOption ('host', + 'installation virtual root directory (for packaging)', + ''), + +- BoolOption ('debug', ++ BoolVariable ('debug', + help = 'compile for debugging', + default = 1), + + # Feature switches: + +- BoolOption ('has_debugger_gui', ++ BoolVariable ('has_debugger_gui', + help = 'enable debugger GUI interface', + default = 0), + +- BoolOption ('has_debugger_cli', ++ BoolVariable ('has_debugger_cli', + help = 'enable debugger command-line interface', + default = 0), + +- BoolOption ('use_tcl', ++ BoolVariable ('use_tcl', + help = 'use Tcl as debug command interpreter (only when debugger CLI is enabled)', + default = 1), # only if has_debugger_cli + +- BoolOption ('use_readline', ++ BoolVariable ('use_readline', + help = 'use Readline library for command editing and history (only when debugger CLI is enabled)', + default = 1)) # only if has_debugger_cli + Property changes on: head/emulators/nonpareil/files/patch-SConstruct ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/nonpareil/files/patch-src_SConscript =================================================================== --- head/emulators/nonpareil/files/patch-src_SConscript (revision 513619) +++ head/emulators/nonpareil/files/patch-src_SConscript (revision 513620) @@ -1,30 +1,30 @@ ---- src/SConscript.orig 2008-08-24 09:37:18.000000000 +0900 -+++ src/SConscript 2011-03-20 05:12:10.000000000 +0900 -@@ -41,16 +41,11 @@ +--- src/SConscript.orig 2008-08-24 00:37:18 UTC ++++ src/SConscript +@@ -41,16 +41,11 @@ sdl_pkg_config_cmd = 'sdl-config --cflag build_env.Append (CPPPATH = ['.']) build_env.Append (CPPPATH = ['#/build/common']) # generated includes -build_env.Append (CCFLAGS = ['-Wall']) +build_env.Append (CCFLAGS = "%%CFLAGS%%") build_env.Append (YACCFLAGS = [ '-d', '-v' ]) - -if build_env ['debug'] : - build_env.Append (CCFLAGS = ['-g']) -else: - build_env.Append (CCFLAGS = ['-O2']) +build_env.Replace (CC = '%%CC%%') if cross and ming and build_target_only: - build_env.Replace (CC = '/usr/local/mingw/bin/i586-mingw32msvc-gcc') build_env.Append (CCFLAGS = ['-mms-bitfields']) build_env.Append (CPPPATH = ['/usr/local/gtkwin/include']) # libpng build_env.Append (CPPPATH = ['/usr/local/gtkwin/SDL-1.2.8/include']) -@@ -286,7 +281,7 @@ +@@ -286,7 +281,7 @@ if (not ming) or (cross and not build_ta csim_env = nonpareil_env.Copy () if not ming: - csim_env.Append (CPPDEFINES = [('DEFAULT_PATH', build_env ['libdir'])]) + csim_env.Append (CPPDEFINES = [('DEFAULT_PATH' + build_env ['libdir'])]) if build_env ['target'] == 'win32': csim_env.Append (CPPDEFINES = [('SHAPE_DEFAULT', "false")]) Index: head/emulators/nonpareil/files/patch-src_printer.c =================================================================== --- head/emulators/nonpareil/files/patch-src_printer.c (revision 513619) +++ head/emulators/nonpareil/files/patch-src_printer.c (revision 513620) @@ -1,10 +1,10 @@ ---- src/printer.c.orig 2012-05-09 13:00:47.000000000 +0200 -+++ src/printer.c 2012-05-09 13:01:08.000000000 +0200 -@@ -29,6 +29,7 @@ +--- src/printer.c.orig 2008-08-24 00:37:18 UTC ++++ src/printer.c +@@ -29,6 +29,7 @@ MA 02111, USA. #include #include +#include #include "util.h" #include "display.h" Index: head/emulators/nonpareil/files/patch-src_proc.c =================================================================== --- head/emulators/nonpareil/files/patch-src_proc.c (revision 513619) +++ head/emulators/nonpareil/files/patch-src_proc.c (revision 513620) @@ -1,17 +1,16 @@ -diff -urN src.orig/proc.c src/proc.c ---- src.orig/proc.c Tue Jul 25 21:29:20 2006 -+++ src/proc.c Tue Jul 25 21:30:08 2006 -@@ -352,7 +352,13 @@ +--- src/proc.c.orig 2008-08-24 00:37:18 UTC ++++ src/proc.c +@@ -352,7 +352,13 @@ bool sim_read_object_file (sim_t *sim, c // Microsoft freopen() isn't compliant with the C standard, which allows // NULL for the filename if you're reopening an existing file handle. #else + // XXX: for some reason this does not work. +#if 0 f = freopen (NULL, "r", f); +#else + fclose(f); + f = fopen(fn, "rb"); +#endif #endif if (! f) { Index: head/emulators/nonpareil/files/patch-src_util.c =================================================================== --- head/emulators/nonpareil/files/patch-src_util.c (revision 513619) +++ head/emulators/nonpareil/files/patch-src_util.c (revision 513620) @@ -1,18 +1,18 @@ ---- src.orig/util.c Mon Jul 24 14:32:21 2006 -+++ src/util.c Mon Jul 24 14:34:48 2006 -@@ -130,6 +130,7 @@ +--- src/util.c.orig 2008-08-24 00:37:18 UTC ++++ src/util.c +@@ -130,6 +130,7 @@ void realloc_strcpy (char **dest, char * } +#if 0 // strlcpy will copy as much of src into dest as it can, up to one less than // the maximum length of dest specified by the argument l. Unlike strncpy(), // strlcpy() will always leave dest NULL-terminated on return. -@@ -139,6 +140,7 @@ +@@ -139,6 +140,7 @@ char *strlcpy (char *dest, const char *s dest [l - 1] = '\0'; return dest; } +#endif // strlncpy will copy up to n characters from src to dest, but not more than Index: head/emulators/nonpareil/files/patch-src_util.h =================================================================== --- head/emulators/nonpareil/files/patch-src_util.h (revision 513619) +++ head/emulators/nonpareil/files/patch-src_util.h (revision 513620) @@ -1,11 +1,11 @@ ---- src.orig/util.h Mon Jul 24 14:32:21 2006 -+++ src/util.h Mon Jul 24 14:33:52 2006 -@@ -56,7 +56,7 @@ +--- src/util.h.orig 2008-08-24 00:37:18 UTC ++++ src/util.h +@@ -56,7 +56,7 @@ void realloc_strcpy (char **dest, char * // strlcpy will copy as much of src into dest as it can, up to one less than // the maximum length of dest specified by the argument l. Unlike strncpy(), // strlcpy() will always leave dest NULL-terminated on return. -char *strlcpy (char *dest, const char *src, size_t l); +//char *strlcpy (char *dest, const char *src, size_t l); // strlncpy will copy up to n characters from src to dest, but not more than Index: head/games/glob2/files/patch-SConstruct =================================================================== --- head/games/glob2/files/patch-SConstruct (revision 513619) +++ head/games/glob2/files/patch-SConstruct (revision 513620) @@ -1,66 +1,84 @@ ---- SConstruct.orig 2009-08-30 21:23:30.000000000 +0200 -+++ SConstruct 2014-06-10 23:51:36.000000000 +0200 -@@ -14,7 +14,9 @@ +--- SConstruct.orig 2009-08-30 19:23:30 UTC ++++ SConstruct +@@ -12,9 +12,11 @@ isLinuxPlatform = sys.platform=='linux2' + isDarwinPlatform = sys.platform=='darwin' - def establish_options(env): - opts = Options('options_cache.py') + +-def establish_options(env): +- opts = Options('options_cache.py') ++def establish_variables(env): ++ opts = Variables('variables_cache.py') + opts.Add("CCFLAGS", "Manually add to the CCFLAGS", "") opts.Add("CXXFLAGS", "Manually add to the CXXFLAGS", "-g") + opts.Add("LIBPATH", "Manually add to the LIBPATH", "") opts.Add("LINKFLAGS", "Manually add to the LINKFLAGS", "-g") if isDarwinPlatform: opts.Add(PathOption("INSTALLDIR", "Installation Directory", "./")) -@@ -22,10 +24,10 @@ +@@ -22,14 +24,14 @@ def establish_options(env): opts.Add("INSTALLDIR", "Installation Directory", "/usr/local/share") opts.Add("BINDIR", "Binary Installation Directory", "/usr/local/bin") opts.Add("DATADIR", "Directory where data will be put, set to the same as INSTALLDIR", "/usr/local/share") - opts.Add(BoolOption("release", "Build for release", 0)) - opts.Add(BoolOption("profile", "Build with profiling on", 0)) - opts.Add(BoolOption("mingw", "Build with mingw enabled if not auto-detected", 0)) - opts.Add(BoolOption("server", "Build only the YOG server, excluding the game and any GUI/sound components", 0)) + opts.Add(BoolVariable("release", "Build for release", 0)) + opts.Add(BoolVariable("profile", "Build with profiling on", 0)) + opts.Add(BoolVariable("mingw", "Build with mingw enabled if not auto-detected", 0)) + opts.Add(BoolVariable("server", "Build only the YOG server, excluding the game and any GUI/sound components", 0)) opts.Add("font", "Build the game using an alternative font placed in the data/font folder", "sans.ttf") Help(opts.GenerateHelpText(env)) opts.Update(env) -@@ -111,14 +113,17 @@ +- opts.Save("options_cache.py", env) ++ opts.Save("variables_cache.py", env) + + + class Configuration: +@@ -111,14 +113,17 @@ def configure(env): missing.append("zlib") boost_thread = '' + boost_system = '' if conf.CheckLib("boost_thread") and conf.CheckCXXHeader("boost/thread/thread.hpp"): boost_thread="boost_thread" + boost_system="boost_system" elif conf.CheckLib("boost_thread-mt") and conf.CheckCXXHeader("boost/thread/thread.hpp"): boost_thread="boost_thread-mt" else: print "Could not find libboost_thread or libboost_thread-mt or boost/thread/thread.hpp" missing.append("libboost_thread") env.Append(LIBS=[boost_thread]) + env.Append(LIBS=[boost_system]) boost_date_time = '' if conf.CheckLib("boost_date_time") and conf.CheckCXXHeader("boost/date_time/posix_time/posix_time.hpp"): -@@ -186,7 +191,7 @@ +@@ -186,7 +191,7 @@ def configure(env): env.Append(LIBS=['fribidi']) #Do checks for portaudio - if conf.CheckLib('portaudio') and conf.CheckCXXHeader('portaudio.h'): + if conf.CheckLib('portaudio2') and conf.CheckCXXHeader('portaudio.h'): if env['mingw'] or isWindowsPlatform: print "--------" print "NOTE: It appears you are compiling under Windows. At this stage, PortAudio crashes Globulation 2 when voice chat is used." -@@ -194,9 +199,9 @@ +@@ -194,9 +199,9 @@ def configure(env): print "--------" else: if GetOption('portaudio'): - print "trying to use portaudio" + print "trying to use portaudio2" configfile.add("HAVE_PORTAUDIO ", "Defined when Port Audio support is present and compiled") - env.Append(LIBS=['portaudio']) + env.Append(LIBS=['portaudio2']) else: print " no portaudio" print " no portaudio - although portaudio was found to be installed, you have " +@@ -236,7 +241,7 @@ def main(): + Exit(1) + + env["VERSION"] = "0.9.4.4" +- establish_options(env) ++ establish_variables(env) + #Add the paths to important mingw libraries + if env['mingw'] or isWindowsPlatform: + env.Append(LIBPATH=["C:/msys/1.0/local/lib", "C:/msys/1.0/lib"]) Index: head/games/marsnomercy/files/patch-SConstruct =================================================================== --- head/games/marsnomercy/files/patch-SConstruct (revision 513619) +++ head/games/marsnomercy/files/patch-SConstruct (revision 513620) @@ -1,47 +1,108 @@ ---- SConstruct.orig Mon Dec 18 19:56:15 2006 -+++ SConstruct Sun Feb 4 15:22:47 2007 -@@ -57,13 +57,19 @@ +--- SConstruct.orig 2006-12-19 00:56:15 UTC ++++ SConstruct +@@ -1,22 +1,22 @@ + import sys, os +-# create build environment and options ++# create build environment and variables + env = Environment() +-opts = Options() ++opts = Variables() + + # OPTION debug +-opts.Add(BoolOption('debug', 'Set to yes (or 1) to build for debug', 'no')) ++opts.Add(BoolVariable('debug', 'Set to yes (or 1) to build for debug', 'no')) + # OPTION strip +-opts.Add(BoolOption('strip', 'Set to no (or 0) to avoid stripping binaries', 'yes')) ++opts.Add(BoolVariable('strip', 'Set to no (or 0) to avoid stripping binaries', 'yes')) + # OPTION warning +-opts.Add(BoolOption('warnings', 'Set to yes (or 1) to print all warnings', 'yes')) ++opts.Add(BoolVariable('warnings', 'Set to yes (or 1) to print all warnings', 'yes')) + # OPTION with_opengl +-opts.Add(BoolOption('with_opengl', 'Set to no (or 0) if you do not want OpenGL support in the game', 'yes')) ++opts.Add(BoolVariable('with_opengl', 'Set to no (or 0) if you do not want OpenGL support in the game', 'yes')) + # OPTION root & prefix +-opts.Add(PathOption('root', 'Path to the fakeroot directory', '/')) +-opts.Add(PathOption('prefix', 'Path to prefix to default destinations', '/usr/local')) +-# Adding options to the environment +-env = Environment(options = opts) ++opts.Add(PathVariable('root', 'Path to the fakeroot directory', '/')) ++opts.Add(PathVariable('prefix', 'Path to prefix to default destinations', '/usr/local')) ++# Adding variables to the environment ++env = Environment(variables = opts) + + if 'install' in sys.argv: + root = ARGUMENTS.get('root', '/') +@@ -33,17 +33,17 @@ else: + + # OPTION no_mingw + if env['PLATFORM'] == 'cygwin': +- opts.Add(BoolOption('no_mingw', 'Set to yes (or 1) to build without mingw', 'no')) +- env = Environment(options = opts) ++ opts.Add(BoolVariable('no_mingw', 'Set to yes (or 1) to build without mingw', 'no')) ++ env = Environment(variables = opts) + + # PLATFORM mingw under cygwin + if env['PLATFORM'] == 'cygwin' and not int(env['no_mingw']): +- # add mingw specific options +- opts.AddOptions( +- PathOption('mingw_cygdir', 'where your mingw installation is located under cygwin', '/mingw'), +- PathOption('mingw_windir', 'where your mingw installation is located under cygwin', 'F:/Programmi/Dev-Cpp') ++ # add mingw specific variables ++ opts.AddVariables( ++ PathVariable('mingw_cygdir', 'where your mingw installation is located under cygwin', '/mingw'), ++ PathVariable('mingw_windir', 'where your mingw installation is located under cygwin', 'F:/Programmi/Dev-Cpp') + ) +- env = Environment(options = opts) ++ env = Environment(variables = opts) + + mingw_cygdir = env['mingw_cygdir'] + mingw_windir = env['mingw_windir'] +@@ -57,15 +57,21 @@ if env['PLATFORM'] == 'cygwin' and not i + # PLATFORM posix or pure cygwin else: + # Section used for FreeBSD port + LOCALBASE = os.environ['LOCALBASE'] + LOCALBASE = os.environ['LOCALBASE'] # determine compiler and linker flags for SDL - env.ParseConfig('sdl-config --cflags') - env.ParseConfig('sdl-config --libs') + SDL_CONFIG = os.environ['SDL_CONFIG'] + env.ParseConfig(SDL_CONFIG + ' --cflags') + env.ParseConfig(SDL_CONFIG + ' --libs') # add additional compiler flags - if not int(env['debug']): - env.Append(CXXFLAGS = ['-O2']) - + env.Replace(CC = os.environ['CC']) + env.Replace(CXX = os.environ['CXX']) + env.Replace(CPPPATH = [LOCALBASE + '/include',LOCALBASE+ '/include']) + env.Replace(LIBPATH = [LOCALBASE + '/lib',LOCALBASE+ '/lib']) + env.Append(CXXFLAGS = os.environ['CXXFLAGS'] + ' `' + SDL_CONFIG + ' --cflags`') - # generate help for options +-# generate help for options ++# generate help for variables Help(opts.GenerateHelpText(env)) -@@ -92,16 +98,16 @@ + + # build for debug +@@ -92,16 +98,16 @@ if data_dir != '': # installation requir if not env.GetOption('clean'): print ":: Checking for libs" conf = Configure(env) - if not conf.CheckLibWithHeader('SDL', 'SDL.h', 'c', 'SDL_Init(SDL_INIT_VIDEO);', autoadd = 0): + if not conf.CheckLibWithHeader('SDL', 'SDL/SDL.h', 'c', 'SDL_Init(SDL_INIT_VIDEO);', autoadd = 0): print 'Did not find libSDL, exiting!' Exit(1) if not conf.CheckLibWithHeader('png', 'png.h', 'c', 'png_error(NULL, "test");'): print 'Did not find libpng, exiting!' Exit(1) - if not conf.CheckLibWithHeader('SDL_image', 'SDL_image.h', 'c', 'IMG_GetError();'): + if not conf.CheckLibWithHeader('SDL_image', 'SDL/SDL_image.h', 'c', 'IMG_GetError();'): print 'Did not find libSDL_image, exiting!' Exit(1) - if not conf.CheckLibWithHeader('SDL_ttf', 'SDL_ttf.h', 'c', 'TTF_Init();'): + if not conf.CheckLibWithHeader('SDL_ttf', 'SDL/SDL_ttf.h', 'c', 'TTF_Init();'): print 'Did not find libSDL_ttf, exiting!' Exit(1) if int(env['with_opengl']): Index: head/lang/tolua++/files/patch-SConstruct =================================================================== --- head/lang/tolua++/files/patch-SConstruct (revision 513619) +++ head/lang/tolua++/files/patch-SConstruct (revision 513620) @@ -1,21 +1,41 @@ ---- SConstruct.orig 2006-04-10 13:45:44.000000000 +0400 -+++ SConstruct 2008-08-22 01:43:56.000000000 +0400 -@@ -17,6 +17,7 @@ +--- SConstruct.orig 2008-04-21 00:05:35 UTC ++++ SConstruct +@@ -7,21 +7,22 @@ if os.name == 'nt': + + env = Environment(tools = tools) + +-options_file = None ++variables_file = None + if sys.platform == 'linux2': +- options_file = "linux" ++ variables_file = "linux" + + elif 'msvc' in env['TOOLS']: +- options_file = "msvc" ++ variables_file = "msvc" + else: +- options_file = "posix" ++ variables_file = "posix" + +-opts = Options(["config_"+options_file+".py", "custom.py", "custom_"+options_file+".py"], ARGUMENTS) ++opts = Variables(["config_"+variables_file+".py", "custom.py", "custom_"+variables_file+".py"], ARGUMENTS) + opts.Add('CC', 'The C compiler.') + opts.Add('CXX', 'The C++ compiler (for the tests)') opts.Add('CCFLAGS', 'Flags for the compiler.', ['-O2', '-Wall']) opts.Add('LINK', 'The linker.') opts.Add('LINKFLAGS', 'Linker flags.', []) +opts.Add('SONAME', 'Shared library name.') opts.Add('no_cygwin', 'Use -mno-cygwin to build using the mingw compiler on cygwin', 0) opts.Add('LIBS', 'libraries', []) opts.Add('LIBPATH', 'library path', []) -@@ -128,7 +129,9 @@ +@@ -145,7 +146,9 @@ Files will be installed on /bin, ########### end of helper builders env['CPPPATH'] = '#/include' -env['LIBPATH'] = ['#/lib'] + env['LIBPATH'] +env['LIBPATH'] = ['#/lib'] + env['LIBPATH'].split(" ") + +env.Append(SHLINKFLAGS=' -Wl,-soname='+env['SONAME']) if env['no_cygwin']: Index: head/x11/ipager/Makefile =================================================================== --- head/x11/ipager/Makefile (revision 513619) +++ head/x11/ipager/Makefile (revision 513620) @@ -1,51 +1,47 @@ # Created by: Vlad V. Teterya # $FreeBSD$ PORTNAME= ipager PORTVERSION= 1.1.0 PORTREVISION= 9 CATEGORIES= x11 MASTER_SITES= http://useperl.ru/ipager/src/ MAINTAINER= lme@FreeBSD.org COMMENT= X11 pager program LICENSE= MIT LIB_DEPENDS= libImlib2.so:graphics/imlib2 USES= scons SUB_FILES= pkg-message DOCS= ChangeLog README ToDo THEMES= atlantis.conf \ dark_red.conf \ green.conf \ industrial.conf \ light_gray.conf \ light_orange.conf OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '35,36d;89d;92,94d' \ -e "s/\([^-]pthread'\)/\1, 'X11'/" \ ${WRKSRC}/SConstruct -pre-build: - # scons is too stupid to create DESTDIR by itself - @${MKDIR} ${STAGEDIR} - post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/themes .for t in ${THEMES} ${INSTALL_DATA} ${WRKSRC}/themes/${t} ${STAGEDIR}${DATADIR}/themes .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ipager .include Index: head/x11/ipager/files/patch-SConstruct =================================================================== --- head/x11/ipager/files/patch-SConstruct (nonexistent) +++ head/x11/ipager/files/patch-SConstruct (revision 513620) @@ -0,0 +1,72 @@ +--- SConstruct.orig 2005-11-06 11:23:24 UTC ++++ SConstruct +@@ -7,15 +7,15 @@ SConsignFile() + ############################################### + # options + ipager_optfile = [ 'scons.opts', 'user.opts' ] +-ipager_options = Options(ipager_optfile) +-ipager_options.AddOptions( +- BoolOption('debug', 'build debug version', 0), +- BoolOption('debug_events', 'debug xserve events', 0), ++ipager_options = Variables(ipager_optfile) ++ipager_options.AddVariables( ++ BoolVariable('debug', 'build debug version', 0), ++ BoolVariable('debug_events', 'debug xserve events', 0), + +- BoolOption('xinerama', 'support xinerama', 0), ++ BoolVariable('xinerama', 'support xinerama', 0), + +- PathOption('PREFIX', 'install-path base', '/usr/local'), +- PathOption('DESTDIR', 'install to $DESTDIR/$PREFIX', '/') ++ PathVariable('PREFIX', 'install-path base', '/usr/local'), ++ PathVariable('DESTDIR', 'install to $DESTDIR/$PREFIX', '/') + ) + + +@@ -73,12 +73,12 @@ if conf.CheckCHeader('sys/time.h'): + + # sys/stat.h + if not conf.CheckCHeader('sys/stat.h'): +- print "missing 'sys/stat.h', install it." ++ print("missing 'sys/stat.h', install it.") + exit(1) + + # sys/types.h + if not conf.CheckCHeader('sys/types.h'): +- print "missing 'sys/types.h', install it." ++ print("missing 'sys/types.h', install it.") + exit(1) + + +@@ -90,7 +90,7 @@ if conf.CheckLibWithHeader('X11', 'X11/X + ipager_env.AppendUnique( + LIBS = ['X11','Xmu','Xext']) + else: +- print "missing x11-dev-stuff, install it." ++ print("missing x11-dev-stuff, install it.") + exit(1) + + +@@ -102,18 +102,18 @@ if conf.env['xinerama'] and conf.CheckLi + + + # imlib2 +-print "Checking for Imlib2... ", ++print("Checking for Imlib2... ") + if not conf.env.WhereIs('imlib2-config'): +- print "cant find 'imlib2-config." ++ print("cant find 'imlib2-config.") + exit(1) + else: + imlib2_env = Environment() + imlib2_env.ParseConfig('imlib2-config --cflags --libs') + if not imlib2_env.Dictionary()['LIBS']: +- print "missing imlib2, install it." ++ print("missing imlib2, install it.") + exit(1) + else: +- print "yes" ++ print("yes") + ipager_env.AppendUnique( + CPPPATH = imlib2_env.Dictionary()['CPPPATH'], + CCFLAGS = imlib2_env.Dictionary()['CCFLAGS'], Property changes on: head/x11/ipager/files/patch-SConstruct ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property