Commit Graph
30 Commits
Author SHA1 Message Date
nhmall ac9ba38449 file header bump from "NetHack 3.6" to "NetHack 3.7" 2020-08-03 22:07:36 -04:00
PatR dcf5d7d68e Qt+X11 on OSX
Using hints/macosx10.10-qt,
| make QTDIR={path} WANT_WIN_X11=1 USE_XPM=1
now builds a combined tty+Qt+X11 binary.  Linking the X11 code
works a lot better when the Makefile tells the linker where the
X11 libraries are....

This reconciles some of the differences between macosx10.10 and
macosx10.10-qt but there are still lots more (including lack of
WANT_WIN_CURSES in the latter).  And now 10.10 has differences
with the half dozen or so other macosx10.* hints.
2020-07-31 14:30:55 -07:00
PatR b7b8c7a446 sys/unix/hints/*: mkfontdir and cp -n
Change all the POSTINSTALL 'mkfontdir' to 'mkfontdir -x .lev' although
the mkfontdir version on my system didn't think $(HACKDIR)/*.lev were
font files when I built without dlb.

Also change the PREINSTALL 'cp -n win/X11/nethack.rc ~/.nethackrc' to
keep going if it fails.  The linux hints use 'cp -n' for sysconf but
since it is doing so for the playground directory and 'make install'
starts out by clearing away everything in that directory, it shouldn't
fail.  But some extra bullet proofing there may be warranted.  Only
the initial cp is protected against clobbering an existing file; the
ownership+permission fixups that are applied to the copy of original
file still get applied to an existing one.
2019-08-20 17:16:57 -07:00
Patric Mueller bd730dbcaa workaround for C89 not supporting inline 2019-01-28 15:00:04 +01:00
PatR 3cc4db7950 Unix Makefile
Separate the compiler flags used for compiling X11 code from the rest
of CFLAGS.  Affects hints/macosx10.8 and later.

Add an explicit output argument to the generated compile rules.
2018-12-30 17:39:56 -08:00
PatR 5882832ef0 X11 on OSX
The change to Makefile.src for X11+XPM on linux broke linking X11 on
OSX.  This updates the hints files (except for the -qt one) so that
 make WANT_WIN_X11=1
and
 make WANT_WIN_X11=1 USE_XPM=1
work correctly.

The comment in macosx10.14 about what version(s) it's intended for
and been tested on is just cloned from 10.10 and should be updated.
2018-12-29 03:28:07 -08:00
nhmall cb43061076 curses changes to existing files 2018-11-16 20:51:22 -05:00
keni f9144fa576 build fixes for MacOSX:
- fix generation of sysconf when WANT_SOURCE_INSTALL=1
- use xcrun as main search for gdb
- turn gdb off in most cases
2018-01-09 20:59:26 -05:00
PatR 5e0cf04b04 update sys/unix/hints/macosx10.10
On OSX, one of the XQuartz header files triggers a compiler warning
about using a gcc extension, resulting in a diagnostic for each of
the files compiled with the WANT_WIN_X11 set of CFLAGS.  Use the
same fix as hints/macosx10.8 already does.
2016-07-30 01:59:27 -07:00
Haoyang Wang 69e1113aa9 fix #H4082: create games group from package postinstall script 2015-12-23 04:53:28 -08:00
Haoyang Wang 69cfa4b134 set permissions of symbols file in package postinstall script 2015-12-17 06:53:14 -08:00
Haoyang Wang ad138be8fb use 'macosx.sh editsysconf' to install sysconf 2015-12-17 06:06:20 -08:00
Haoyang Wang 894c751043 added editsysconf command in macosx.sh 2015-12-17 06:06:20 -08:00
Haoyang Wang bf7a259646 turn off use_darkgray in sysconf 2015-12-17 06:06:20 -08:00
Haoyang Wang 2ebcd1bb42 When build_tty_pkg, include the sysconf with mac-specific changes 2015-11-09 13:59:14 -08:00
Haoyang Wang 72afe346cc use pstopdf to generate Guidebook.pdf 2015-11-09 00:25:34 -08:00
Haoyang Wang 8497f0f92d pilemark.xbm 2015-11-09 00:22:33 -08:00
Haoyang Wang ff599b5b1b X11 include and lib 2015-11-09 00:22:33 -08:00
Haoyang Wang d302ba2290 also touch logfile 2015-11-09 00:22:33 -08:00
Haoyang Wang 1f47522732 default to WANT_SHARE_INSTALL off 2015-11-09 00:22:33 -08:00
Haoyang Wang 6cee2693b8 add postinstall script to set the file permissions 2015-11-09 00:22:33 -08:00
Haoyang Wang 2894f1f873 fix make install; fix the package directory tree 2015-11-09 00:22:33 -08:00
Haoyang Wang 93d2d28f78 PackageManager is no longer available. Use productbuild instead. 2015-11-09 00:22:33 -08:00
Pasi Kallinen 50eb826c0f Add a chroot install hints file for linux
This makes installing NetHack on a public server much easier.
Required some minor changes to the unix top-level Makefile, and
the other hints files; Makefile variable HACKDIR may not be a
full path anymore, use INSTDIR instead.
2015-08-13 16:30:57 +03:00
Sean Hunt ff823095ee Revert "Add tombstone tribute to S.T.P. for 3.6.0"
This reverts commit 64dfb4fcc8.
2015-08-03 12:56:32 -04:00
Sean Hunt 9f0c9b4a0b Revert "Properly define NH360_DEDICATION in Makefiles"
This reverts commit 3db39ca221.
2015-08-03 12:56:26 -04:00
Pasi Kallinen 3db39ca221 Properly define NH360_DEDICATION in Makefiles 2015-07-31 15:51:01 +03:00
Sean Hunt 64dfb4fcc8 Add tombstone tribute to S.T.P. for 3.6.0
I've added build files for unices, but other platforms will need to define
NH360_DEDICATION on their own.
2015-07-19 12:42:23 -04:00
Haoyang Wang d72e0d0fde hint file for macosx10.10 2015-06-05 15:57:56 -07:00
Haoyang Wang ca27c0b543 add /usr/X11R6/include to the include paths 2015-06-05 15:43:18 -07:00