1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +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:
Marcus Alves Grando 2005-10-29 19:26:52 +00:00
parent aa27779311
commit 1cf3b6123a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146690
2 changed files with 23 additions and 0 deletions

View File

@ -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)

View 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
]