mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Remove hard-coded "/usr/local", replacing with ${PREFIX} in the Makefile.
This commit is contained in:
parent
bae327edb8
commit
09daed7dd3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145612
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= mpd4
|
||||
PORTVERSION= 4.0b3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= archie
|
||||
|
26
net/mpd4/files/patch-src::Makefile
Normal file
26
net/mpd4/files/patch-src::Makefile
Normal file
@ -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
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= mpd4
|
||||
PORTVERSION= 4.0b3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= archie
|
||||
|
26
net/mpd5/files/patch-src::Makefile
Normal file
26
net/mpd5/files/patch-src::Makefile
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user