diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-12-12 07:36:05 +0800 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-12-12 07:36:05 +0800 |
commit | 562aef9b388a30b0f596cb1024ce5b930e7cb65e (patch) | |
tree | bdd0444215c63b45045aa0580f82406f2fe3218d /comms | |
parent | 4130d887b2b2073dcc404bcd6bfea6472bff6d41 (diff) | |
download | freebsd-ports-gnome-562aef9b388a30b0f596cb1024ce5b930e7cb65e.tar.gz freebsd-ports-gnome-562aef9b388a30b0f596cb1024ce5b930e7cb65e.tar.zst freebsd-ports-gnome-562aef9b388a30b0f596cb1024ce5b930e7cb65e.zip |
Obey PREFIX/LOCALBASE.
PR: ports/90246
Submitted by: Søren Straarup <xride@x12.dk> (maintainer)
Diffstat (limited to 'comms')
-rw-r--r-- | comms/linpsk/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/comms/linpsk/Makefile b/comms/linpsk/Makefile index 9e375f112902..c9e73533fd03 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 |