Frotz Makefile

Mark Brethen mark.brethen at
Sun Feb 16 23:37:58 UTC 2020

I found this in the Makefile for Frotz 2.51:

    # Since MacOS lacks pkg-config, pick CURSES_LDFLAGS that's known to work.
    ifeq ($(UNAME_S),Darwin)
        MACOS = yes
        # On MACOS, curses is actually ncurses, but to get wide char support
        # you need to define _XOPEN_SOURCE_EXTENDED
        CURSES = curses
        CFLAGS += -D_XOPEN_SOURCE_EXTENDED -DMACOS -I/opt/local/include \
                -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE=600
        LDFLAGS += -L/opt/local/lib
        CURSES_LDFLAGS += -lcurses

looks like it expects a macports ncurses install? Should I strip this out and set it with the portfile?

Mark Brethen
mark.brethen at

More information about the macports-dev mailing list