From 09daed7dd36ca7e9997b4142ec8f847f02c22778 Mon Sep 17 00:00:00 2001
From: Archie Cobbs <archie@FreeBSD.org>
Date: Mon, 17 Oct 2005 02:03:45 +0000
Subject: Remove hard-coded "/usr/local", replacing with ${PREFIX} in the
 Makefile.

---
 net/mpd5/Makefile                  |  1 +
 net/mpd5/files/patch-src::Makefile | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 net/mpd5/files/patch-src::Makefile

(limited to 'net/mpd5')

diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile
index 701f7f3c76e9..b0c296889131 100644
--- a/net/mpd5/Makefile
+++ b/net/mpd5/Makefile
@@ -7,6 +7,7 @@
 
 PORTNAME=	mpd4
 PORTVERSION=	4.0b3
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	archie
diff --git a/net/mpd5/files/patch-src::Makefile b/net/mpd5/files/patch-src::Makefile
new file mode 100644
index 000000000000..8d8fd02105cf
--- /dev/null
+++ b/net/mpd5/files/patch-src::Makefile
@@ -0,0 +1,26 @@
+Index: src/Makefile
+===================================================================
+RCS file: /cvsroot/mpd/mpd/src/Makefile,v
+retrieving revision 1.33
+retrieving revision 1.34
+diff -u -r1.33 -r1.34
+--- src/Makefile	8 May 2005 16:02:24 -0000	1.33
++++ src/Makefile	17 Oct 2005 02:00:40 -0000	1.34
+@@ -61,7 +61,7 @@
+ LDADD+=		-L/usr/lib -lradius
+ DPADD+=		${LIBRADIUS}
+ 
+-LDADD+=		-L/usr/local/lib -lpdel -lssl -lexpat
++LDADD+=		-L${PREFIX}/lib -lpdel -lssl -lexpat
+ 
+ MPD_VERSION!=	echo -n "${VERSION} (`id -un`@`uname -n` `LC_TIME=C date +'%R %v'`)"
+ 
+@@ -80,7 +80,7 @@
+ 		-Wpointer-arith \
+ 		-Wwrite-strings \
+ 		-pthread \
+-		-I/usr/local/include
++		-I${PREFIX}/include
+ 
+ # Standard sources
+ 
-- 
cgit v1.2.3