Fix a nasty hardcoded /usr/local which wasn't patched away, use

TRUEPREFIX instead. spotted while looking at tabbed port..
This commit is contained in:
landry 2009-12-17 21:06:20 +00:00
parent 1c70d26e36
commit 6a2528063b
2 changed files with 9 additions and 5 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/08 12:17:18 landry Exp $
# $OpenBSD: Makefile,v 1.2 2009/12/17 21:06:20 landry Exp $
COMMENT = simple webbrowser based on webkit/gtk+
DISTNAME = surf-0.3
PKGNAME = ${DISTNAME}p0
CATEGORIES = www
HOMEPAGE = http://surf.suckless.org/

View File

@ -1,11 +1,14 @@
$OpenBSD: patch-config_mk,v 1.1.1.1 2009/11/08 12:17:18 landry Exp $
$OpenBSD: patch-config_mk,v 1.2 2009/12/17 21:06:20 landry Exp $
use TRUEPREFIX instead of patching Makefile to remove DESTDIR
--- config.mk.orig Fri Oct 30 13:41:02 2009
+++ config.mk Sun Nov 8 13:00:22 2009
@@ -5,19 +5,19 @@ VERSION = 0.3
+++ config.mk Thu Dec 17 21:43:56 2009
@@ -4,20 +4,20 @@ VERSION = 0.3
# Customize below to fit your system
# paths
PREFIX = /usr/local
-PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/share/man
+PREFIX = ${TRUEPREFIX}
+MANPREFIX = ${PREFIX}/man
-GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)