02c5b99a7e
While here, don't hardcode paths.
23 lines
602 B
Plaintext
23 lines
602 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1 2012/04/01 06:36:18 ajacoutot Exp $
|
|
--- Makefile.orig Sun Apr 1 08:31:36 2012
|
|
+++ Makefile Sun Apr 1 08:32:41 2012
|
|
@@ -1,13 +1,13 @@
|
|
# $Id: patch-Makefile,v 1.1 2012/04/01 06:36:18 ajacoutot Exp $
|
|
|
|
-TRUEPREFIX?= /usr/local
|
|
+PREFIX ?= /usr/local
|
|
|
|
-BINDIR = ${TRUEPREFIX}/bin
|
|
-MANDIR = ${TRUEPREFIX}/man/cat
|
|
+BINDIR = ${PREFIX}/bin
|
|
+MANDIR = ${PREFIX}/man/cat
|
|
|
|
PROG = sclock
|
|
-CFLAGS += -I/usr/X11R6/include -Wall -Werror -g3
|
|
-LDFLAGS += -L/usr/X11R6/lib
|
|
+CFLAGS += -I${X11BASE}/include -Wall -g3
|
|
+LDFLAGS += -L${X11BASE}/lib
|
|
LDADD = -lX11
|
|
|
|
.include <bsd.prog.mk>
|