ports/70107: [PATCH] devel/porttools: fix dependency

Yen-Ming Lee leeym at utopia.leeym.com
Sat Aug 7 04:00:50 UTC 2004


>Number:         70107
>Category:       ports
>Synopsis:       [PATCH] devel/porttools: fix dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 07 04:00:49 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #167: Tue Jul 27 05:17:58 CST 2004
>Description:
[DESCRIBE CHANGES]

${LOCALBASE} is defined after ".include <bsd.port.pre.mk>"

Port maintainer (sergei at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:

- cd /usr/ports/devel/newfile && make install clean
  (install newfile by your own first, and make sure that newfile exists)

- cd /usr/ports/devel/porttools && make -V RUN_DEPENDS
  (porttools can't find newfile, and doesn't depends on newfile)

>Fix:

--- porttools-0.63_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/porttools/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	6 Aug 2004 22:28:42 -0000	1.12
+++ Makefile	7 Aug 2004 03:46:53 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	porttools
 PORTVERSION=	0.63
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,6 +18,8 @@
 RUN_DEPENDS=	portlint:${PORTSDIR}/devel/portlint \
 		sudo:${PORTSDIR}/security/sudo
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_NEWFILE) || exists(${LOCALBASE}/bin/newfile)
 RUN_DEPENDS+=	${LOCALBASE}/bin/newfile:${PORTSDIR}/devel/newfile
 .endif
@@ -29,4 +32,4 @@
 MAN1=		port.1
 MAN5=		porttools.5
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- porttools-0.63_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list