Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2001 12:27:48 -0400 (EDT)
From:      pat@databits.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29063: Fix port comms/yawmppp
Message-ID:  <200107181627.f6IGRms59214@cc92687-a.wlgrv1.pa.home.com>

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

>Number:         29063
>Category:       ports
>Synopsis:       Fix port comms/yawmppp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 18 09:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.3-STABLE FreeBSD 4.3-STABLE #0: Fri Jul 13 02:32:31 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
Add patch to make it safe from hard coded paths in source
>How-To-Repeat:
N/A
>Fix:
Index: yawmppp/Makefile
===================================================================
RCS file: /home/ncvs/ports/comms/yawmppp/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- yawmppp/Makefile	2001/06/15 13:09:30	1.4
+++ yawmppp/Makefile	2001/07/18 16:24:40
@@ -13,6 +13,7 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
+USE_X_PREFIX=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_GTK=	yes
@@ -30,7 +31,9 @@
 			${WRKSRC}/configure ${WRKSRC}/*/*/Makefile.in
 
 pre-patch:
-	@${PERL} -pi -e "s|\@prefix\@/doc/|\@prefix\@/share/doc/|g" \
+	@${PERL} -pi.orig -e "s|\@prefix\@/doc/|\@prefix\@/share/doc/|g" \
 		${WRKSRC}/Makefile.in
+	@${PERL} -pi.orig -e 's!\/usr\/local!${PREFIX}!; \
+		s!/usr/bin!${PREFIX}/bin!' ${WRKSRC}/src/ycommon.c
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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