ports/90232: [PATCH] comms/twpsk: Make it respect LOCALBASE/X11BASE
Soeren Straarup
xride at x12.dk
Sun Dec 11 12:00:19 UTC 2005
>Number: 90232
>Category: ports
>Synopsis: [PATCH] comms/twpsk: Make it respect LOCALBASE/X11BASE
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 11 12:00:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Soeren 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 respect LOCALBASE/X11BASE
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- twpsk-2.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/comms/twpsk/Makefile /space/portstrees/FreeBSD/ports/comms/twpsk/Makefile
--- /usr/ports/comms/twpsk/Makefile Mon May 30 23:36:33 2005
+++ /space/portstrees/FreeBSD/ports/comms/twpsk/Makefile Sat Dec 3 17:18:42 2005
@@ -15,7 +15,14 @@
USE_XPM= yes
USE_MOTIF= yes
+USE_REINPLACE= yes
MAN1= psk31.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/psk31.1
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/twpskHelp
.include <bsd.port.mk>
--- twpsk-2.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list