ports/sysutils/mapchan/files/patch-Makefile
Marcus Alves Grando 3aba2993a7 Update to 2.0 and unBROKEN
Take MAINTAINER
Add SHA256

PR:		89029
Submitted by:	"Boris B. Samorodov" <bsam@ipt.ru>
2005-11-14 22:15:21 +00:00

23 lines
483 B
Text

--- Makefile.orig Wed Jul 6 00:16:36 2005
+++ Makefile Mon Nov 14 22:52:35 2005
@@ -1,6 +1,6 @@
#
#
-CFLAGS=-O2
+CFLAGS?=$(CFLAGS)
#
# Defines:
#DEFS=
@@ -14,9 +14,9 @@
# (3) If need call /bin/sh for parsing argument of option -s
DEFS+=-DEXEC_SHELL
-BINDIR ?= /bin
-MAPDIR ?= /etc/mapchan
-LDFLAGS=-s
+BINDIR?=$(PREFIX)/bin
+MAPDIR?=$(PREFIX)/mapchan
+LDFLAGS=-s -lutil
LOADLIBES=-lutil
#--------------------------------------------------------------
CFLAGS += $(DEFS)