Skip to content

Commit

Permalink
x11-wm/enlightenment: fix packaging on powerpc
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Jul 11, 2021
1 parent 84a66af commit cb29de5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions x11-wm/enlightenment/Makefile
Expand Up @@ -16,7 +16,8 @@ LIB_DEPENDS= libefl.so:devel/efl \
libpulse.so:audio/pulseaudio

USES= compiler:c11 desktop-file-utils gettext-tools gnome \
meson ninja iconv libtool pathfix pkgconfig tar:xz xorg
localbase:ldflags meson ninja iconv libtool pathfix pkgconfig \
tar:xz xorg
USE_XORG= xcb
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
Expand All @@ -25,8 +26,6 @@ MESON_ARGS= -Dsystemd=false -Ddevice-udev=false \
-Dmount-udisks=false -Dmount-eeze=false -Dbluez5=false \
-Dconnman=false --sysconfdir=/usr/local/etc

CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALLS_ICONS= yes

OPTIONS_DEFINE= NLS
Expand All @@ -46,10 +45,14 @@ ENLIGHTENMENT_ARCH= ${OPSYS:tl}-x86
.if ${CURRENT_ARCH:Mpowerpc64*}
ENLIGHTENMENT_ARCH= ${OPSYS:tl}-ppc64
.else
.if ${CURRENT_ARCH} == powerpc
ENLIGHTENMENT_ARCH= ${OPSYS:tl}-ppc
.else
ENLIGHTENMENT_ARCH= ${OPSYS:tl}-${CURRENT_ARCH}
.endif
.endif
.endif
.endif

ENLIGHTENMENT_VERSION= 0.24.2
PLIST_SUB= ENLIGHTENMENT_ARCH=${ENLIGHTENMENT_ARCH}-${ENLIGHTENMENT_VERSION}
Expand Down

0 comments on commit cb29de5

Please sign in to comment.