patch-src_config_mak 914 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-src_config_mak,v 1.2 2012/08/18 18:57:38 edd Exp $
  2. --- src/config.mak.orig Sun Jan 15 07:19:25 2012
  3. +++ src/config.mak Fri Aug 10 06:52:53 2012
  4. @@ -51,8 +51,8 @@ ifneq "$(luatest)" ""
  5. LUA_CFLAGS ?= $(shell pkg-config --cflags lua)
  6. LUA_LIBS ?= $(shell pkg-config --libs lua)
  7. else
  8. - LUA_CFLAGS ?= $(shell pkg-config --cflags lua5.1)
  9. - LUA_LIBS ?= $(shell pkg-config --libs lua5.1)
  10. + LUA_CFLAGS ?= $(shell pkg-config --cflags lua51)
  11. + LUA_LIBS ?= $(shell pkg-config --libs lua51)
  12. endif
  13. GTK_CFLAGS ?= $(shell pkg-config --cflags gtk+-2.0)
  14. GTK_LIBS ?= $(shell pkg-config --libs gtk+-2.0)
  15. @@ -101,7 +101,7 @@ CXX = g++
  16. # position independent code
  17. # (it doesn't hurt much on 32bit Linux, although you could comment it
  18. # out for slightly faster code)
  19. -DLL_CFLAGS = -fpic
  20. +DLL_CFLAGS = -fPIC
  21. #
  22. # --------------------------------------------------------------------
  23. #