ports/126732: [patch] rpm5 update (build depends)
Anders F Björklund
afb at rpm5.org
Fri Aug 22 07:30:02 UTC 2008
>Number: 126732
>Category: ports
>Synopsis: [patch] rpm5 update (build depends)
>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: Fri Aug 22 07:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Anders F Björklund
>Release: CURRENT
>Organization:
>Environment:
>Description:
The build failed on AMD64 when perl was not installed, and the apidocs generation failed when dot was not installed.
>How-To-Repeat:
http://t64.tecnik93.com/logs/7-STABLE-FTP/rpm-5.0.3_1.log
>Fix:
Attached patch fixes the build by checking for perl and dot.
Patch attached with submission follows:
diff -ur rpm5.orig/Makefile rpm5/Makefile
--- rpm5.orig/Makefile Wed Jul 9 01:26:06 2008
+++ rpm5/Makefile Fri Aug 22 09:03:16 2008
@@ -6,7 +6,7 @@
PORTNAME= rpm
PORTVERSION= 5.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://rpm5.org/files/rpm/rpm-5.0/
@@ -21,9 +21,11 @@
magic:${PORTSDIR}/sysutils/file \
xar:${PORTSDIR}/archivers/xar \
pcre.0:${PORTSDIR}/devel/pcre
-BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
+BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed \
+ perl:${PORTSDIR}/lang/perl5.8
.if !defined(NOPORTDOCS)
-BUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
+BUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen \
+ ${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz
.endif
DB_VERSION?= 45
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list