openbsd-ports/misc/garmin-utils/patches/patch-Makefile_inc
naddy dbfd750590 Cope with bsd.man.mk changes and install source man pages.
While here, also update some PLISTs, fix PREFIX use, etc.
ok landry@
2011-06-23 22:50:26 +00:00

23 lines
527 B
Plaintext

$OpenBSD: patch-Makefile_inc,v 1.4 2011/06/23 22:50:27 naddy Exp $
--- Makefile.inc.orig Fri Jul 14 13:56:54 2006
+++ Makefile.inc Tue Jun 21 08:50:04 2011
@@ -2,14 +2,10 @@
#
# Default installation directories
#
-PREFIX?= /usr/local
-BINDIR?= ${PREFIX}/bin
-LIBDIR?= ${PREFIX}/lib
-.if !empty(unix:M*OpenBSD.)
-MANDIR?= ${PREFIX}/man/cat
-.else
-MANDIR?= ${PREFIX}/man
-.endif
+BINDIR= ${TRUEPREFIX}/bin
+LIBDIR= ${TRUEPREFIX}/lib
+MANDIR= ${TRUEPREFIX}/man/man
+
# Name the default serial port to talk to the gps
#