FreeBSD Bugzilla – Attachment 148212 Details for
Bug 194317
[PATCH] graphics/electrix: Fix stage-qa, use options helpers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
electrix patch
electrix.diff (text/plain), 2.42 KB, created by
Jason E. Hale
on 2014-10-12 13:29:32 UTC
(
hide
)
Description:
electrix patch
Filename:
MIME Type:
Creator:
Jason E. Hale
Created:
2014-10-12 13:29:32 UTC
Size:
2.42 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 370667) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > > PORTNAME= electrix > PORTVERSION= 0.2.0 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= graphics print > MASTER_SITES= SF/${PORTNAME:tl}/${PORTVERSION} > >@@ -11,55 +11,42 @@ > > LICENSE= GPLv2 > >-USES= pkgconfig desktop-file-utils >-USE_BZIP2= yes >+USES= pkgconfig desktop-file-utils pkgconfig python:2 tar:bzip2 > USE_GNOME= gtk20 glib20 intltool intlhack >-USE_PYTHON= 2 > >-CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} >+CONFIGURE_ENV= CC="${CC}" \ >+ CFLAGS="${CFLAGS}" \ >+ CPPFLAGS="${CPPFLAGS}" \ >+ DESTDIR="${STAGEDIR}" \ >+ JOBS="${MAKE_JOBS_NUMBER}" \ >+ LINKFLAGS="${LDFLAGS}" \ >+ PREFIX="${PREFIX}" > >-OPTIONS_DEFINE= DBUS NLS PDF PS >+OPTIONS_DEFINE= DBUS NLS PDF PS > OPTIONS_DEFAULT= DBUS PDF >+OPTIONS_SUB= yes > >-PDF_DESC= Portable Document Format Support >-PS_DESC= PostScript Support >+DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib >+DBUS_CONFIGURE_OFF= --disable-dbus > >-.include <bsd.port.options.mk> >+NLS_USES= gettext >+NLS_CONFIGURE_OFF= --disable-nls > >-.if ${PORT_OPTIONS:MDBUS} >-LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib >-.else >-CONFIGURE_ARGS+= --disable-dbus >-.endif >+PDF_LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib >+PDF_CONFIGURE_OFF= --disable-pdf > >-.if ${PORT_OPTIONS:MNLS} >-PLIST_SUB= NLS="" >-USES+= gettext >-.else >-CONFIGURE_ARGS+= --disable-nls >-PLIST_SUB= NLS="@comment " >-.endif >+PS_LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre >+PS_CONFIGURE_OFF= --disable-ps > >-.if ${PORT_OPTIONS:MPDF} >-LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib >-.else >-CONFIGURE_ARGS+= --disable-pdf >-.endif >- >-.if ${PORT_OPTIONS:MPS} >-LIB_DEPENDS+= libspectre.so:${PORTSDIR}/print/libspectre >-.else >-CONFIGURE_ARGS+= --disable-ps >-.endif >- > do-configure: >- @cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf configure \ >+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} waf configure \ > ${CONFIGURE_ARGS} && ${TRUE} > > do-build: >- @cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf build && ${TRUE} >+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} waf build && ${TRUE} > > do-install: >- @cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf install && ${TRUE} >+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} waf install && ${TRUE} >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/electrix > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jhale
:
maintainer-approval?
(
olivierd
)
Actions:
View
|
Diff
Attachments on
bug 194317
: 148212