aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-02-14 14:04:05 +0800
committerkris <kris@FreeBSD.org>2004-02-14 14:04:05 +0800
commit8cc795f46204403a8fe76e1071da2e0db776f5df (patch)
tree168492c395bb20e6165fccabfda10c6f7828bfa8 /x11-wm
parentc2ca8bb348aaa91baa18b998cc17a8d5af7ab046 (diff)
downloadfreebsd-ports-gnome-8cc795f46204403a8fe76e1071da2e0db776f5df.tar.gz
freebsd-ports-gnome-8cc795f46204403a8fe76e1071da2e0db776f5df.tar.zst
freebsd-ports-gnome-8cc795f46204403a8fe76e1071da2e0db776f5df.zip
Set WITHOUT_HERMES on sparc64, because that library has an endianness
bug that interchanges red and blue channels in images. Take maintainership.
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/windowmaker/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index 010b94eb2628..458b04749782 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -13,15 +13,12 @@ MASTER_SITES= ${MASTER_SITE_WINDOWMAKER}
MASTER_SITE_SUBDIR= source/release
DISTNAME= WindowMaker-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= kris@FreeBSD.org
COMMENT= GNUStep-compliant NeXTStep window manager clone
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
-.if !defined(WITHOUT_HERMES)
-LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes
-.endif
RUN_DEPENDS= ${X11BASE}/share/WindowMaker/Themes/Checker.themed/style:${PORTSDIR}/graphics/wmicons
@@ -45,7 +42,14 @@ CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
--with-appspath="${PREFIX}/GNUstep/Apps" \
--disable-debug
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+WITHOUT_HERMES= yes
+.endif
+
.if !defined(WITHOUT_HERMES)
+LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes
CONFIGURE_ARGS+= --enable-hermes
.else
CONFIGURE_ARGS+= --disable-hermes
@@ -100,4 +104,4 @@ update-LINGUAS: extract
cd ${WRKSRC}/po && \
${ECHO_CMD} *.po | ${SED} 's|\.po||g' > ${FILESDIR}/LINGUAS
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>