From 6a2528063bb16bdccc2295ba6721fc07de92253f Mon Sep 17 00:00:00 2001 From: landry Date: Thu, 17 Dec 2009 21:06:20 +0000 Subject: [PATCH] Fix a nasty hardcoded /usr/local which wasn't patched away, use TRUEPREFIX instead. spotted while looking at tabbed port.. --- www/surf/Makefile | 3 ++- www/surf/patches/patch-config_mk | 11 +++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/www/surf/Makefile b/www/surf/Makefile index aa8875a35e4..50000656e80 100644 --- a/www/surf/Makefile +++ b/www/surf/Makefile @@ -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/ diff --git a/www/surf/patches/patch-config_mk b/www/surf/patches/patch-config_mk index 99a0af0223f..965fb4fb0cb 100644 --- a/www/surf/patches/patch-config_mk +++ b/www/surf/patches/patch-config_mk @@ -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)