diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-02-07 23:54:36 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-02-07 23:54:36 +0000 |
commit | a1c0e3f0d2d11cd31225056c5b17c5760c740d45 (patch) | |
tree | 71f6d62a710ca42656d260a4074e1ac842752ed3 /devel/onscripter/files/patch-Makefile.Linux | |
parent | Add armv6 to supported ONLY_FOR_ARCHS list. (diff) |
Add new port: devel/onscripter and devel/onscripter-1byte
PR: 196654
Differential Revision: https://reviews.freebsd.org/D1800
Approved by: bapt (mentor)
Open source clone of NScripter, a game engine used to create and
perform visual novels.
WWW: http://onscripter.sourceforge.jp/onscripter.html
Diffstat (limited to 'devel/onscripter/files/patch-Makefile.Linux')
-rw-r--r-- | devel/onscripter/files/patch-Makefile.Linux | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/devel/onscripter/files/patch-Makefile.Linux b/devel/onscripter/files/patch-Makefile.Linux new file mode 100644 index 000000000000..f4d17708f5c9 --- /dev/null +++ b/devel/onscripter/files/patch-Makefile.Linux @@ -0,0 +1,48 @@ +--- Makefile.Linux~ ++++ Makefile.Linux +@@ -30,28 +30,13 @@ LIBS += `smpeg-config --libs` + DEFS += -DUSE_FONTCONFIG + LIBS += -lfontconfig + +-# recommended: OggVorbis +-DEFS += -DUSE_OGG_VORBIS +-LIBS += -logg -lvorbis -lvorbisfile +- +-# optional: Integer OggVorbis +-#DEFS += -DUSE_OGG_VORBIS -DINTEGER_OGG_VORBIS +-#LIBS += -lvorbisidec +- + # optional: support CD audio + DEFS += -DUSE_CDROM + +-# optional: avifile +-DEFS += -DUSE_AVIFILE +-INCS += `avifile-config --cflags` +-LIBS += `avifile-config --libs` +-TARGET += simple_aviplay$(EXESUFFIX) +-EXT_OBJS += AVIWrapper$(OBJSUFFIX) +- + # optional: lua + DEFS += -DUSE_LUA +-INCS += -I/usr/include/lua5.1 +-LIBS += -llua5.1 ++INCS += -I$(LUA_INCDIR) ++LIBS += -llua-$(LUA_VER) + EXT_OBJS += LUAHandler$(OBJSUFFIX) + + # optional: force screen width for PDA +@@ -62,11 +47,10 @@ EXT_OBJS += LUAHandler$(OBJSUFFIX) + + + # for GNU g++ +-CC = g++ +-LD = g++ -o ++CC = $(CXX) ++LD = $(CXX) -o + +-#CFLAGS = -g -Wall -pipe -c $(INCS) $(DEFS) +-CFLAGS = -O3 -Wall -fomit-frame-pointer -pipe -c $(INCS) $(DEFS) ++CFLAGS += -Wall -c $(INCS) $(DEFS) + + # for GCC on PowerPC specfied + #CC = powerpc-unknown-linux-gnu-g++ |