FreeBSD Bugzilla – Attachment 177368 Details for
Bug 214812
[patch] misc/mc: get rid of mc.png and mc.desktop when building without X11 support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch Makefile and pkg-plist
mc-patch (text/plain), 1.78 KB, created by
Robert Schulze
on 2016-11-25 06:03:32 UTC
(
hide
)
Description:
Patch Makefile and pkg-plist
Filename:
MIME Type:
Creator:
Robert Schulze
Created:
2016-11-25 06:03:32 UTC
Size:
1.78 KB
patch
obsolete
>diff -Naur misc/mc.orig/Makefile misc/mc/Makefile >--- misc/mc.orig/Makefile 2016-11-24 16:13:49.732639000 +0100 >+++ misc/mc/Makefile 2016-11-24 16:53:12.273739000 +0100 >@@ -7,8 +7,7 @@ > MASTER_SITES= http://ftp.midnight-commander.org/ \ > http://ftp.osuosl.org/pub/midnightcommander/ \ > SF/nemysisfreebsdp/misc/:icons >-DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ >- ${PORTNAME}.png:icons >+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} > EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} > > MAINTAINER= woodsb02@FreeBSD.org >@@ -67,6 +66,7 @@ > > X11_CONFIGURE_ENABLE= x > X11_USE= xorg=x11,xext >+X11_DISTFILES= ${PORTNAME}.png:icons > > PORTDOCS= * > >@@ -83,11 +83,12 @@ > ${WRKSRC}/configure > @${REINPLACE_CMD} -e 's|SUBDIRS = intl|SUBDIRS =|' ${WRKSRC}/Makefile.in > >-post-install: >+post-install-X11-on: > ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ > ${STAGEDIR}${PREFIX}/share/pixmaps/ > ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} > >+post-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} > @${MKDIR} ${STAGEDIR}${DOCSDIR2} >diff -Naur misc/mc.orig/pkg-plist misc/mc/pkg-plist >--- misc/mc.orig/pkg-plist 2016-11-24 16:13:49.737489000 +0100 >+++ misc/mc/pkg-plist 2016-11-24 16:18:29.017524000 +0100 >@@ -85,7 +85,7 @@ > %%NLS%%man/pl/man1/mc.1.gz > %%NLS%%man/ru/man1/mc.1.gz > %%NLS%%man/sr/man1/mc.1.gz >-share/applications/mc.desktop >+%%X11%%share/applications/mc.desktop > %%NLS%%share/locale/az/LC_MESSAGES/mc.mo > %%NLS%%share/locale/be/LC_MESSAGES/mc.mo > %%NLS%%share/locale/bg/LC_MESSAGES/mc.mo >@@ -304,4 +304,4 @@ > %%EDITOR%%%%DATADIR%%/syntax/xml.syntax > %%EDITOR%%%%DATADIR%%/syntax/yum-repo.syntax > %%EDITOR%%%%DATADIR%%/syntax/yxx.syntax >-share/pixmaps/mc.png >+%%X11%%share/pixmaps/mc.png
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
Actions:
View
|
Diff
Attachments on
bug 214812
: 177368