freebsd-ports/graphics/ipe/files/patch-src-config-mak
Michael Scheidell f184d715f5 - Update to 7.1.2
PR:		ports/168228
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
Approved by:	Troels Kofoed Jacobsen <tkjacobsen@gmail.com> (maintainer)
2012-05-29 21:01:38 +00:00

41 lines
1.3 KiB
Text

--- config.mak.orig 2012-05-22 11:50:19.537220266 +0600
+++ config.mak 2012-05-22 11:57:03.846226857 +0600
@@ -46,14 +46,8 @@
CAIRO_CFLAGS ?= $(shell pkg-config --cflags cairo)
CAIRO_LIBS ?= $(shell pkg-config --libs cairo)
# The lua package might be called "lua" or "lua5.1"
-luatest = $(shell pkg-config --modversion --silence-errors lua)
-ifneq "$(luatest)" ""
- LUA_CFLAGS ?= $(shell pkg-config --cflags lua)
- LUA_LIBS ?= $(shell pkg-config --libs lua)
-else
- LUA_CFLAGS ?= $(shell pkg-config --cflags lua5.1)
- LUA_LIBS ?= $(shell pkg-config --libs lua5.1)
-endif
+LUA_CFLAGS ?= -I$(LUA_INCDIR)
+LUA_LIBS ?= -L$(LUA_LIBDIR) -llua
GTK_CFLAGS ?= $(shell pkg-config --cflags gtk+-2.0)
GTK_LIBS ?= $(shell pkg-config --libs gtk+-2.0)
QT_CFLAGS ?= $(shell pkg-config --cflags QtGui QtCore)
@@ -123,6 +117,7 @@
#IPEPREFIX := /usr
#IPEPREFIX := /opt/ipe7
#
+IPEPREFIX := $(PREFIX)
ifeq "$(IPEPREFIX)" ""
$(error You need to specify IPEPREFIX!)
endif
@@ -157,11 +152,11 @@
#
# IPEDOCDIR contains the Ipe documentation (mostly html files)
#
-IPEDOCDIR = $(IPEPREFIX)/share/ipe/$(IPEVERS)/doc
+IPEDOCDIR = $(IPEPREFIX)/share/doc/ipe/$(IPEVERS)
#
# The Ipe manual pages are installed into IPEMANDIR
#
-IPEMANDIR = $(IPEPREFIX)/share/man/man1
+IPEMANDIR = $(IPEPREFIX)/man/man1
#
# The full path to the Ipe fontmap
#