Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 02:36:37 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        devel@stasyan.com
Subject:   ports/185948: [PATCH] graphics/alpng: support staging
Message-ID:  <20140120223637.5B4A23FC33@hades.panopticon>
Resent-Message-ID: <201401202240.s0KMe0lO065023@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185948
>Category:       ports
>Synopsis:       [PATCH] graphics/alpng: support staging
>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:   Mon Jan 20 22:40: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:
- Support staging
- Use new LIB_DEPENDS syntax

Port maintainer (devel@stasyan.com) is cc'd.

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

--- alpng-1.3_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 340482)
+++ Makefile	(working copy)
@@ -11,7 +11,7 @@
 MAINTAINER=	devel@stasyan.com
 COMMENT=	Library for display PNG images in programs
 
-LIB_DEPENDS+=	alleg:${PORTSDIR}/devel/allegro
+LIB_DEPENDS=	liballeg.so:${PORTSDIR}/devel/allegro
 
 HAS_CONFIGURE=	yes
 WRKSRC=		${WRKDIR}
@@ -23,12 +23,11 @@
 PLIST_FILES=	include/alpng.h \
 		lib/libalpng.a
 
-NO_STAGE=	yes
 do-configure:
 	@${REINPLACE_CMD} -e "s/gcc/${CC}/g" ${WRKSRC}/makefile
 
 do-install:
-		${INSTALL_DATA} ${WRKSRC}/libalpng.a ${PREFIX}/lib/libalpng.a
-		${INSTALL_DATA} ${WRKSRC}/src/alpng.h ${PREFIX}/include/alpng.h
+	${INSTALL_DATA} ${WRKSRC}/libalpng.a ${STAGEDIR}${PREFIX}/lib/
+	${INSTALL_DATA} ${WRKSRC}/src/alpng.h ${STAGEDIR}${PREFIX}/include/
 
 .include <bsd.port.mk>
--- alpng-1.3_1.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140120223637.5B4A23FC33>