ports/175785: [patch] graphics/renrot remove SITE_PERL from RUN_DEPENDS

Alex Kozlov spam at rm-rf.kiev.ua
Sat Feb 2 20:30:01 UTC 2013


>Number:         175785
>Category:       ports
>Synopsis:       [patch] graphics/renrot remove SITE_PERL from RUN_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 02 20:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kozlov
>Release:        RELENG_9
>Organization:
private
>Environment:
>Description:
- remove SITE_PERL from RUN_DEPENDS
  (see https://wiki.freebsd.org/PortsLongtermTargets#Use_of_SITE_PERL_in_dependencies)
- use ETCDIR
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: graphics/renrot/Makefile
@@ -25,14 +25,13 @@
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MIMAGEMAGICK}
-RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
+RUN_DEPENDS+=	ImageMagick>=0:${PORTSDIR}/graphics/ImageMagick
 .endif
 
 post-install:
-	@${MKDIR} ${PREFIX}/etc/${PORTNAME}
+	@${MKDIR} ${ETCDIR}
 .for conf in colors.conf copyright.tag renrot.conf tags.conf
-	${INSTALL_DATA} ${WRKSRC}/etc/${conf} \
-		${PREFIX}/etc/${PORTNAME}/${conf}.sample
+	${INSTALL_DATA} ${WRKSRC}/etc/${conf} ${ETCDIR}/${conf}.sample
 .endfor
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}


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


More information about the freebsd-ports-bugs mailing list