ports/90246: [MAINTAINER-PATCH] comms/linpsk: LOCALBASE/X11BASE compliant
Soeren Straarup
xride at x12.dk
Sun Dec 11 17:00:24 UTC 2005
>Number: 90246
>Category: ports
>Synopsis: [MAINTAINER-PATCH] comms/linpsk: LOCALBASE/X11BASE compliant
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 11 17:00:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Søren Straarup
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD beacon.x12.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Sep 6 13:55:41 CEST
>Description:
Make it LOCALBASE/X11BASE compliant
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- linpsk-0.8.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/comms/linpsk/Makefile /space/portstrees/FreeBSD/ports/comms/linpsk/Makefile
--- /usr/ports/comms/linpsk/Makefile Mon Sep 5 02:48:19 2005
+++ /space/portstrees/FreeBSD/ports/comms/linpsk/Makefile Sat Dec 3 17:13:41 2005
@@ -28,7 +28,7 @@
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 @@
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
--- linpsk-0.8.1_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list