1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/devel/loki/files/patch-Makefile
Pav Lucistnik 5f7e11dd42 - Update to 0.1.5
PR:		ports/105211
Submitted by:	Charming Sun <snnn119@gmail.com> (maintainer)
2007-01-28 01:38:11 +00:00

21 lines
589 B
Plaintext

--- Makefile.orig Sun Jan 28 02:20:26 2007
+++ Makefile Sun Jan 28 02:24:49 2007
@@ -2,7 +2,7 @@
export OS ?= $(shell uname -s)
export CXXWARNFLAGS = -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic
-export CXXFLAGS = $(CXXWARNFLAGS) -g -O2
+export CXXFLAGS += $(CXXWARNFLAGS) -fPIC
.PHONY: all build-static build-shared check clean distclean
all: build-static build-shared check
@@ -23,7 +23,7 @@
$(MAKE) -C src distclean
ifneq ($(OS),Windows)
-export prefix ?= /usr
+export prefix ?= ${PREFIX}
.PHONY: install install-static
install: