Changeset View
Changeset View
Standalone View
Standalone View
multimedia/libva-utils/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= libva-utils | PORTNAME= libva-utils | ||||
PORTVERSION= 1.8.3 | PORTVERSION= 2.0.0 | ||||
CATEGORIES= multimedia | CATEGORIES= multimedia | ||||
MAINTAINER= madpilot@FreeBSD.org | MAINTAINER= madpilot@FreeBSD.org | ||||
Context not available. | |||||
#USE_XORG= glproto pciaccess xext xfixes | #USE_XORG= glproto pciaccess xext xfixes | ||||
#USE_GL= gl | #USE_GL= gl | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
INSTALL_TARGET= install-strip | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= 01org | GH_ACCOUNT= 01org | ||||
Context not available. | |||||
OPTIONS_DEFINE= DEBUG | OPTIONS_DEFINE= DEBUG | ||||
.include <bsd.port.options.mk> | .ifdef WITH_DEBUG | ||||
OPTIONS_DEFAULT= DEBUG | |||||
.if ${PORT_OPTIONS:MDEBUG} | |||||
CFLAGS+= -D_DEBUG | |||||
.else | |||||
CFLAGS+= -DNDEBUG | |||||
.endif | .endif | ||||
mat: This is really, really wrong.
If one wants to enable debug, one can set either of:
```… | |||||
Not Done Inline ActionsI can see. I'll remove this stanza. Thanks. madpilot: I can see. I'll remove this stanza.
Thanks. | |||||
.include <bsd.port.pre.mk> | DEBUG_CFLAGS= -D_DEBUG | ||||
DEBUG_CFLAGS_OFF= -DNDEBUG | |||||
.if defined(STRIP) && ${STRIP} != "" | |||||
INSTALL_TARGET= install-strip | |||||
.endif | |||||
#post-patch: .SILENT | #post-patch: .SILENT | ||||
# ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ | # ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ | ||||
# -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \ | # -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \ | ||||
Context not available. | |||||
# ${WRKSRC}/doc/Makefile.am | # ${WRKSRC}/doc/Makefile.am | ||||
# ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am | # ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am | ||||
.include <bsd.port.post.mk> | .include <bsd.port.mk> | ||||
Context not available. |
This is really, really wrong.
If one wants to enable debug, one can set either of:
But don't change OPTIONS_DEFAULT from external variables.