Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2005 17:56:28 +0100 (CET)
From:      Soeren Straarup <xride@x12.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/90246: [MAINTAINER-PATCH] comms/linpsk: LOCALBASE/X11BASE compliant
Message-ID:  <20051211165628.793484161@beacon.x12.dk>
Resent-Message-ID: <200512111700.jBBH0FWV089309@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051211165628.793484161>