aboutsummaryrefslogtreecommitdiffstats
path: root/net/mpd5/files
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2005-10-17 10:03:45 +0800
committerarchie <archie@FreeBSD.org>2005-10-17 10:03:45 +0800
commit43480976a872c581dabbb11755b18b4f216cc684 (patch)
tree34fcbcd4e6b7104cde8331782f4975becd69d52e /net/mpd5/files
parent52f732bf6eb24c2320f72b42d1f392af4fac8e96 (diff)
downloadfreebsd-ports-gnome-43480976a872c581dabbb11755b18b4f216cc684.tar.gz
freebsd-ports-gnome-43480976a872c581dabbb11755b18b4f216cc684.tar.zst
freebsd-ports-gnome-43480976a872c581dabbb11755b18b4f216cc684.zip
Remove hard-coded "/usr/local", replacing with ${PREFIX} in the Makefile.
Diffstat (limited to 'net/mpd5/files')
-rw-r--r--net/mpd5/files/patch-src::Makefile26
1 files changed, 26 insertions, 0 deletions
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
+