ports/188258: [PATCH] devel/avra: install includes, other fixes

Dmitry Marakasov amdmi3 at amdmi3.ru
Fri Apr 4 14:30:01 UTC 2014


>Number:         188258
>Category:       ports
>Synopsis:       [PATCH] devel/avra: install includes, other fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 04 14:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
- Install includes
- Convert USE_BZIP2 to USES
- Respect user-set LDFLAGS
- Whitespace fix in pkg-descr

Port maintainer (graudeejs at gmail.com) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- avra-1.3.0.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 350026)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	avra
 PORTVERSION=	1.3.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
 
@@ -16,13 +17,13 @@
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 
-USES=		gmake
-USE_BZIP2=	yes
+USES=		tar:bzip2 gmake
 MAKEFILE=	${WRKSRC}/makefiles/Makefile.linux
-MAKE_ARGS=	CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS=""
+MAKE_ARGS=	CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 
 PORTDOCS=	*
 PORTEXAMPLES=	*
+PORTDATA=	*
 PLIST_FILES=	bin/avra
 
 do-install:
@@ -31,5 +32,7 @@
 	(cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/../examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC}/.. && ${COPYTREE_SHARE} includes ${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 350026)
+++ pkg-descr	(working copy)
@@ -1,4 +1,4 @@
 avra is an GNU GPL'ed assembler for the Atmel AVR microcontrollers.
 See the file COPYING for more information regarding the license.
 
-WWW:	http://avra.sourceforge.net/
+WWW: http://avra.sourceforge.net/
--- avra-1.3.0.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list