Obey PREFIX/LOCALBASE.
PR: ports/90246 Submitted by: Søren Straarup <xride@x12.dk> (maintainer)
This commit is contained in:
parent
4130d887b2
commit
562aef9b38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150928
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,7 @@ GNU_CONFIGURE= yes
|
|||
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
CONFIGURE_ARGS= --with-qtdir=${X11BASE}
|
||||
CONFIGURE_ARGS= --with-qtdir=${X11BASE} --prefix=${PREFIX}
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
|
@ -40,6 +40,8 @@ IGNORE= does not build on FreeBSD 4.x
|
|||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|-I$$(top_srcdir)/src/portaudio||' \
|
||||
${WRKSRC}/src/Makefile.in \
|
||||
${WRKSRC}/src/interfaces/Makefile.in
|
||||
|
|
Loading…
Reference in a new issue