|
From: SourceForge.net <no...@so...> - 2004-10-23 10:12:55
|
Feature Requests item #1052115, was opened at 2004-10-22 12:44 Message generated for change (Settings changed) made by manuelbi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=421864&aid=1052115&group_id=38274 >Category: General/misc Group: None Status: Open Priority: 5 Submitted By: Juan RP (xtraeme) Assigned to: Maarten ter Huurne (mthuurne) Summary: NetBSD support for openmsx. Initial Comment: Patches to make this build on NetBSD (they were created some time ago for pkgsrc => http://www.pkgsrc.org). platform-netbsd.mk: # Configuration file for NetBSD. # Does platform support symlinks? USE_SYMLINK:=true # Default compiler. OPENMSX_CXX?=$(CXX) # File name extension of executables. EXEEXT:= CXXFLAGS+= -D_REENTRANT -D_THREAD_SAFE LINK_FLAGS+= -pthread # Probe Overrides # =============== MMAP_PREHEADER:=<sys/types.h> SYS_MMAN_PREHEADER:=<sys/types.h> SYS_SOCKET_PREHEADER:=<sys/types.h> SDL_CFLAGS:=`sdl-config --cflags 2>> $(LOG)` SDL_LDFLAGS:=`sdl-config --libs 2>> $(LOG)` SDL_RESULT:=`sdl-config --version` PNG_CFLAGS:= PNG_LDFLAGS:=-lpng PNG_RESULT:=yes -- finish platform-netbsd.mk -- Please commit for the next version, Juan. ---------------------------------------------------------------------- Comment By: Manuel Bilderbeek (manuelbi) Date: 2004-10-23 12:00 Message: Logged In: YES user_id=78178 I moved it to Feature Requests, because that seems to be the proper category. Great to get NetBSD support! ---------------------------------------------------------------------- Comment By: Maarten ter Huurne (mthuurne) Date: 2004-10-22 23:58 Message: Logged In: YES user_id=358343 I added your patch to CVS (ChangeLog 1.1483). Thanks for submitting it! I modified platform-netbsd.mk a bit: the probe overrides are only necessary if a platform does something differently than the defaults defined in probe.mk. Since the SDL probe overrides in your version were the same as the defaults, they can be safely removed, so I removed them. Does NetBSD package "libpng-config" or "libpng12-config"? If so, using that would be better than hardcoding the compile/link flags. Could you test CVS HEAD in NetBSD? Note that anoncvs is sometimes behind several hours; if you want an up-to-date tarball quickly then contact me by mail (see ChangeLog) or on #openmsx on irc.freenode.net. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=421864&aid=1052115&group_id=38274 |