Date: Wed, 12 Jul 2006 01:07:45 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/100122: [MAINTAINER PATCH] x11/e17-module-uptime fix MODULE_ARCH Message-ID: <200607112107.k6BL7jNa020149@fonon.realnet> Resent-Message-ID: <200607112110.k6BLANRl006534@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100122 >Category: ports >Synopsis: [MAINTAINER PATCH] x11/e17-module-uptime fix MODULE_ARCH >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jul 11 21:10:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006 root@fonon.realnet:/work/src/fbsd-cur/src/sys/i386/compile/FONON i386 >Description: In coordination with enlightenment-devel maintainer (vanilla@freebsd.org) MODULE_ARCH was changed to freebsd${OSREL}-${ARCH}. Appropriate patches for evas and enlightenment-devel have been commited. This patch fixes e17-module-uptime to work with current version of enlightenment-devel. We should change module location directory in order to account this MODULE_ARCH changes. Note: files/patch-configure file has been deleted. >How-To-Repeat: >Fix: --- e17-module-uptime.diff begins here --- diff -ruN e17-module-uptime.orig/Makefile e17-module-uptime/Makefile --- e17-module-uptime.orig/Makefile Tue Jul 11 23:55:04 2006 +++ e17-module-uptime/Makefile Wed Jul 12 00:29:11 2006 @@ -7,6 +7,7 @@ PORTNAME= uptime PORTVERSION= 20060707 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://mbsd.msk.ru/dist/ PKGNAMEPREFIX= e17-module- @@ -24,6 +25,8 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +PLIST_SUB+= MODULE_ARCH=freebsd${OSREL}-${ARCH} .if !defined(WITHOUT_NLS) USE_GETTEXT= yes diff -ruN e17-module-uptime.orig/files/patch-configure e17-module-uptime/files/patch-configure --- e17-module-uptime.orig/files/patch-configure Tue Jul 11 23:55:04 2006 +++ e17-module-uptime/files/patch-configure Thu Jan 1 03:00:00 1970 @@ -1,11 +0,0 @@ ---- configure.orig Fri Jun 23 17:14:42 2006 -+++ configure Fri Jun 23 17:14:53 2006 -@@ -23390,7 +23390,7 @@ - - - --MODULE_ARCH="$host_os-$host_cpu" -+MODULE_ARCH="" - - - cat >>confdefs.h <<_ACEOF diff -ruN e17-module-uptime.orig/pkg-plist e17-module-uptime/pkg-plist --- e17-module-uptime.orig/pkg-plist Tue Jul 11 23:55:04 2006 +++ e17-module-uptime/pkg-plist Wed Jul 12 00:23:19 2006 @@ -1,7 +1,7 @@ -lib/enlightenment/modules/uptime/module.a +lib/enlightenment/modules/uptime/%%MODULE_ARCH%%/module.a lib/enlightenment/modules/uptime/module.eap -lib/enlightenment/modules/uptime/module.la -lib/enlightenment/modules/uptime/module.so +lib/enlightenment/modules/uptime/%%MODULE_ARCH%%/module.la +lib/enlightenment/modules/uptime/%%MODULE_ARCH%%/module.so lib/enlightenment/modules/uptime/uptime.edj %%NLS%%share/locale/bg/LC_MESSAGES/uptime.mo %%NLS%%share/locale/eo/LC_MESSAGES/uptime.mo @@ -9,4 +9,5 @@ %%NLS%%share/locale/it/LC_MESSAGES/uptime.mo %%NLS%%share/locale/ja/LC_MESSAGES/uptime.mo %%NLS%%share/locale/sv/LC_MESSAGES/uptime.mo +@dirrm lib/enlightenment/modules/uptime/%%MODULE_ARCH%% @dirrm lib/enlightenment/modules/uptime --- e17-module-uptime.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607112107.k6BL7jNa020149>