diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-11-05 06:39:33 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-11-05 06:39:33 +0000 |
commit | 861d8019fc3d33f90487e94bc1823f763e04a452 (patch) | |
tree | 1796723d158d70648d1cf0ebdd3db4c8f32f3ee4 | |
parent | eabdccd0be8623bcc62f00b14a1be75c37536f18 (diff) | |
download | FreeBSD-ports-861d8019fc3d33f90487e94bc1823f763e04a452.zip FreeBSD-ports-861d8019fc3d33f90487e94bc1823f763e04a452.tar.gz |
Don't build apm module on amd64/ia64, bump version.
Submitted by: kris@ via email
-rw-r--r-- | x11-wm/enlightenment-devel/Makefile | 2 | ||||
-rw-r--r-- | x11-wm/enlightenment-devel/files/patch-src_modules_battery_e_mod_main.c | 30 |
2 files changed, 31 insertions, 1 deletions
diff --git a/x11-wm/enlightenment-devel/Makefile b/x11-wm/enlightenment-devel/Makefile index 36d6198..0b9d94e 100644 --- a/x11-wm/enlightenment-devel/Makefile +++ b/x11-wm/enlightenment-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= enlightenment PORTVERSION= 0.16.999.018 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= http://enlightenment.freedesktop.org/files/ diff --git a/x11-wm/enlightenment-devel/files/patch-src_modules_battery_e_mod_main.c b/x11-wm/enlightenment-devel/files/patch-src_modules_battery_e_mod_main.c new file mode 100644 index 0000000..3426e35 --- /dev/null +++ b/x11-wm/enlightenment-devel/files/patch-src_modules_battery_e_mod_main.c @@ -0,0 +1,30 @@ +--- src/modules/battery/e_mod_main.c.orig Sat Nov 5 11:39:55 2005 ++++ src/modules/battery/e_mod_main.c Sat Nov 5 12:29:02 2005 +@@ -687,9 +687,11 @@ + case CHECK_ACPI: + ret = _battery_bsd_acpi_check(ef); + break; ++# ifdef __i386__ + case CHECK_APM: + ret = _battery_bsd_apm_check(ef); + break; ++#endif + default: + break; + } +@@ -1433,6 +1435,7 @@ + return stat; + } + ++# ifdef __i386__ + static Status * + _battery_bsd_apm_check(Battery *ef) + { +@@ -1525,6 +1528,7 @@ + + return stat; + } ++#endif + #endif + + #ifdef HAVE_CFBASE_H |