summaryrefslogtreecommitdiffstats
path: root/comms/linpsk
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-12-11 23:36:05 +0000
committerlawrance <lawrance@FreeBSD.org>2005-12-11 23:36:05 +0000
commit645d28ad19b10957d6cb000924bfa783d16b99ab (patch)
treeb5b29db30e96f5a9c912267d6ce85faf9cc31777 /comms/linpsk
parent8971a3b468a285d43902fa29512d41b9466120aa (diff)
downloadFreeBSD-ports-645d28ad19b10957d6cb000924bfa783d16b99ab.zip
FreeBSD-ports-645d28ad19b10957d6cb000924bfa783d16b99ab.tar.gz
Obey PREFIX/LOCALBASE.
PR: ports/90246 Submitted by: Søren Straarup <xride@x12.dk> (maintainer)
Diffstat (limited to 'comms/linpsk')
-rw-r--r--comms/linpsk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/comms/linpsk/Makefile b/comms/linpsk/Makefile
index 9e375f1..c9e7353 100644
--- a/comms/linpsk/Makefile
+++ b/comms/linpsk/Makefile
@@ -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
OpenPOWER on IntegriCloud