mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Respect LOCALBASE/X11BASE
PR: 88149 Notified by: kris Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> (maintainer)
This commit is contained in:
parent
aa27779311
commit
1cf3b6123a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146690
@ -30,6 +30,10 @@ EXAMPLESDIR= ${PREFIX}/share/examples/py-sdl-mixer
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,"SDL","SDL-1.1",g' ${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} -e 's,SDL/SDL,SDL11/SDL,g' ${WRKSRC}/sdl_mixer.c
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
19
audio/py-sdl_mixer/files/patch-setup.py
Normal file
19
audio/py-sdl_mixer/files/patch-setup.py
Normal file
@ -0,0 +1,19 @@
|
||||
--- setup.py.orig Fri Oct 28 00:13:10 2005
|
||||
+++ setup.py Fri Oct 28 00:14:18 2005
|
||||
@@ -17,12 +17,14 @@
|
||||
|
||||
INCDIR = [
|
||||
"/usr/include",
|
||||
- "/usr/local/include",
|
||||
+ "%%LOCALBASE%%/include",
|
||||
+ "%%X11BASE%%/include",
|
||||
"/sw/include", # For Mac OS X
|
||||
]
|
||||
LIBDIR = [
|
||||
"/usr/lib",
|
||||
- "/usr/local/lib",
|
||||
+ "%%LOCALBASE%%/lib",
|
||||
+ "%%X11BASE%%/lib",
|
||||
"/sw/lib/", # For Mac OS X
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user