aboutsummaryrefslogtreecommitdiffstats
path: root/net/mpd4
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/mpd4
parent52f732bf6eb24c2320f72b42d1f392af4fac8e96 (diff)
downloadfreebsd-ports-graphics-43480976a872c581dabbb11755b18b4f216cc684.tar.gz
freebsd-ports-graphics-43480976a872c581dabbb11755b18b4f216cc684.tar.zst
freebsd-ports-graphics-43480976a872c581dabbb11755b18b4f216cc684.zip
Remove hard-coded "/usr/local", replacing with ${PREFIX} in the Makefile.
Diffstat (limited to 'net/mpd4')
-rw-r--r--net/mpd4/Makefile1
-rw-r--r--net/mpd4/files/patch-src::Makefile26
2 files changed, 27 insertions, 0 deletions
diff --git a/net/mpd4/Makefile b/net/mpd4/Makefile
index 701f7f3c76e..b0c29688913 100644
--- a/net/mpd4/Makefile
+++ b/net/mpd4/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/mpd4/files/patch-src::Makefile b/net/mpd4/files/patch-src::Makefile
new file mode 100644
index 00000000000..8d8fd02105c
--- /dev/null
+++ b/net/mpd4/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
+