HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #57

Ticket #57: lua-5.1.3-haiku.diff

File lua-5.1.3-haiku.diff, 1.2 KB (added by scottmc, 7 years ago)
  • Makefile

    diff -urN lua-5.1.3/Makefile lua-5.1.3-haiku/Makefile
    old new  
    3333# == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE ========= 
    3434 
    3535# Convenience platforms targets. 
    36 PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris 
     36PLATS= aix ansi bsd freebsd generic haiku linux macosx mingw posix solaris 
    3737 
    3838# What to install. 
    3939TO_BIN= lua luac 
  • src/Makefile

    diff -urN lua-5.1.3/src/Makefile lua-5.1.3-haiku/src/Makefile
    old new  
    2020 
    2121# == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE ========= 
    2222 
    23 PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris 
     23PLATS= aix ansi bsd freebsd generic haiku linux macosx mingw posix solaris 
    2424 
    2525LUA_A=  liblua.a 
    2626CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \ 
    … …  
    9595generic: 
    9696        $(MAKE) all MYCFLAGS= 
    9797 
     98haiku: 
     99        $(MAKE) all MYCFLAGS="-DLUA_ANSI" LIBS=$(MYLIBS) 
     100 
    98101linux: 
    99102        $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" 
    100103 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/