ports/125608: [maintainer] astro/aa -- fix install error with NOPORTDATA

Frank W. Josellis frank at dynamical-systems.org
Mon Jul 14 16:50:05 UTC 2008


>Number:         125608
>Category:       ports
>Synopsis:       [maintainer] astro/aa -- fix install error with NOPORTDATA
>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:   Mon Jul 14 16:50:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Frank W. Josellis
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:

	
>Description:
The port's Makefile ignored the NOPORTDATA=yes flag. 

>How-To-Repeat:
	
>Fix:

	

--- aa-portdata.patch begins here ---
diff -ur aa.BAK/Makefile aa/Makefile
--- aa.BAK/Makefile	2008-03-16 22:39:33.000000000 +0100
+++ aa/Makefile	2008-07-14 18:13:02.000000000 +0200
@@ -37,10 +37,12 @@
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/aa ${PREFIX}/bin
 	@${INSTALL_DATA} ${WRKSRC}/aa.ini ${PREFIX}/etc/aa.ini.default
+.if !defined(NOPORTDATA)
 	@${MKDIR} ${DATADIR}
 .for i in ${PORTDATA}
 	@${INSTALL_DATA} ${WRKSRC}/${i} ${DATADIR}
 .endfor
+.endif
 
 post-install:
 .if !defined(NOPORTDOCS)
--- aa-portdata.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list