ports/153704: [patch] multimedia/libvdpau: respect STRIP

Anonymous swell.k at gmail.com
Wed Jan 5 14:00:19 UTC 2011


>Number:         153704
>Category:       ports
>Synopsis:       [patch] multimedia/libvdpau: respect STRIP
>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:   Wed Jan 05 14:00:18 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
STRIP re-defined via WITH_DEBUG depends on ports/153539
Otherwise can be comitted right now.
>Description:
- use install-strip by default
- move license block closer to maintainer section
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: multimedia/libvdpau/Makefile
===================================================================
RCS file: /a/.cvsup/ports/multimedia/libvdpau/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- multimedia/libvdpau/Makefile	24 Sep 2010 19:06:00 -0000	1.1
+++ multimedia/libvdpau/Makefile	5 Jan 2011 13:47:31 -0000
@@ -13,17 +13,23 @@ MASTER_SITES=	http://people.freedesktop.
 MAINTAINER=	swell.k at gmail.com
 COMMENT=	VDPAU wrapper and tracing library
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-documentation
 USE_GMAKE=	yes
 USE_XORG=	dri2proto xext
 USE_LDCONFIG=	yes
 
-LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/COPYING
+.include <bsd.port.pre.mk>
+
+.if defined(STRIP) && ${STRIP} != ""
+INSTALL_TARGET=	install-strip
+.endif
 
 post-patch:	.SILENT
 	${REINPLACE_CMD} 's|$$(libdir)/\(pkgconfig\)|$$(prefix)/libdata/\1|' \
 		${WRKSRC}/Makefile.in
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list