===> The following configuration options are available for zsnes-1.51_12,1:
AO=off: libao audio library support
DEBUGGER=off: ZSNES Debugger
JMA=on: JMA support
OPENGL=off: 2D/3D rendering support via OpenGL
X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601
emulators/zsnes: Ignore on FreeBSD 14.0 and use older C++ Standard for
compilation
Since ZSNES is not in active development, with the last release being in 2007,
the code is not designed to be compiled with more recent C++ standards. Thus,
this patch makes it use an older standard to make it compile.
- Updated Makefile (cleaned up through portclippy and portfmt), adding a
CONFIGURE_ENV to set the C++ standard through CXXFLAGS.
- Updated files/patch-configure as the above CXXFLAGS were being ignored due
to one line using CFLAGS instead of CXXFLAGS.
- Add IGNORE for FreeBSD 14.0, because of build failures on this
plattform. Since it builds fine on 14.1 and 14.0 is EOL soon, we decided to
IGNORE it for this version. The error is:
checking for zlib - version >= 1.2.3... 1.3, bad version string given
by zlib, sometimes due to very old zlibs that didnt correctly
define their version. Please upgrade if you are running an
old zlib... no
configure: error: zlib >= 1.2.3 is required
PR: 280195
Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
emulators/zsnes: Fix build with -fno-common
Fix the build of emulators/zsnes when built with -fno-common, which is the
default with llvm 11.
MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum)
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
- Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions
Tested by: exp-run by pav
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Distfile was silently rerolled, chase this. Changes are: CPU detection
improvements, minor nits (char*->const char*), and license information added to
single file
- Change comment about why the port os marked ONLY_FOR_ARCHS to more useful
ONLY_FOR_ARCHS_REASON
PR: 131179
Submitted by: myself
Approved by: Naram Qashat <cyberbotx at cyberbotx dot com> (maintainer)
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
- Update to 1.50
- Added a few new OPTIONS knobs [1]
- Distfile is now a .tar.bz2 instead of a .tar.gz
- Target ALL wasn't valid
- Removed substitutions to configure because they were unnessacary
- Respect CFLAGS [1]
- Mark IGNORE < 602000, It needs zlib 1.2.3 or greater [1]
- Patch to linux/zfilew.c no longer needed
PR: ports/107125
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Reviewed by: miwi and me [1]
- Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
binary)
- Update graphics/sdl_ttf to version 2.0.8
- Update graphics/sdl_image to version 1.2.5
- Update audio/sdl_mixer to version 1.2.7
- Update net/sdl_net to version 1.2.6
- Update Mk/bsd.sdl.mk accordingly
- Fix dependent ports to fit the new directory structure and avoid several
API breakages
- Bump up portrevisions for all dependent ports to allow them to be upgraded
by portupgrade/portmaster etc tools
Approved by: kris (portmgr), sem (mentor)
These are a couple of small fixes and improvements I have
accumulated for the emulators/zsnes port:
* Heed CFLAGS and CPPFLAGS set in /etc/make.conf.
Without this, C/C++ code is not optimised for ${CPUTYPE}
but always for i386 instead.
CFLAGS were ignored entirely before this update, even
though the port contains both C and C++ code.
CPPFLAGS were passed to configure but overridden again
for the actual compile.
* Only search headers and libaries in ${X11BASE} if building
with X11 support. This is rather cosmetic, really.
* Fix configure script summary to report correct zsnes version.
* Fix compiler warnings about __FreeBSD__ being redefined.
PR: ports/102691
Submitted by: Stefan Sperling (maintainer)
- Add OPTIONS for X11/OpenGL, as these are not mandatory dependencies.
- Pass maintainership to submitter.
PR: ports/101663
Submitted by: Stefan Sperling <freebsd-gnats@stsp.in-berlin.de>
Fix sound-issue. You will have to restart ZSNES each
time you modify the sound settings within the sound menu for them to work
properly, though.
PR: ports/67644
Submitted by: Travis Poppe
Approved by: maintainer timeout