diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2005-10-17 02:03:45 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2005-10-17 02:03:45 +0000 |
commit | 09daed7dd36ca7e9997b4142ec8f847f02c22778 (patch) | |
tree | 25b0c9a795a5bea411765c281a4476265b6c13ca /net/mpd5 | |
parent | bae327edb847bdf8cb97567cdb7576080569284a (diff) | |
download | freebsd-ports-09daed7dd36ca7e9997b4142ec8f847f02c22778.zip |
Remove hard-coded "/usr/local", replacing with ${PREFIX} in the Makefile.
Diffstat (limited to 'net/mpd5')
-rw-r--r-- | net/mpd5/Makefile | 1 | ||||
-rw-r--r-- | net/mpd5/files/patch-src::Makefile | 26 |
2 files changed, 27 insertions, 0 deletions
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 + |