Date: Tue, 26 Nov 2002 13:13:48 +0100 (CET) From: Miguel Mendez <flynn@energyhq.homeip.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sobomax@FreeBSD.org Subject: ports/45748: Port x11-wm/windowmaker , add knob to disable Hermes Message-ID: <200211261213.gAQCDmJh031080@christine.energyhq.tk>
next in thread | raw e-mail | index | archive | help
>Number: 45748 >Category: ports >Synopsis: Port x11-wm/windowmaker , add knob to disable Hermes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 26 04:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Miguel Mendez >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD christine.energyhq.tk 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Nov 24 13:52:29 CET 2002 root@christine.energyhq.tk:/usr/obj/usr/src/sys/CHRISTINE i386 >Description: The Hermes library doesn't properly work when X server and clients run on computers with different endianess. Let the user disable it if so [s]he choses via the WITHOUT_HERMES define. Bump portrevision. >How-To-Repeat: commit :) >Fix: --- windowmaker.diff begins here --- diff -ruN windowmaker.old/Makefile windowmaker/Makefile --- windowmaker.old/Makefile Wed Nov 20 21:31:35 2002 +++ windowmaker/Makefile Tue Nov 26 13:03:10 2002 @@ -7,6 +7,7 @@ PORTNAME= windowmaker PORTVERSION= 0.80.2 +PORTREVISION= 1 CATEGORIES= x11-wm windowmaker MASTER_SITES= ${MASTER_SITE_WINDOWMAKER} MASTER_SITE_SUBDIR= source/release @@ -17,8 +18,11 @@ LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \ png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff \ - intl.4:${PORTSDIR}/devel/gettext \ - Hermes.1:${PORTSDIR}/graphics/Hermes + intl.4:${PORTSDIR}/devel/gettext +.if !defined(WITHOUT_HERMES) +LIB_DEPENDS+= Hermes.1:${PORTSDIR}/graphics/Hermes +.endif + RUN_DEPENDS= ${X11BASE}/share/WindowMaker/Themes/Checker.themed/style:${PORTSDIR}/graphics/wmicons USE_BZIP2= yes @@ -38,8 +42,14 @@ --with-libs-from="-L${LOCALBASE}/lib" \ --with-incs-from="-I${LOCALBASE}/include" \ --with-appspath="${PREFIX}/GNUstep/Apps" \ - --enable-hermes \ --disable-debug + +.if !defined(WITHOUT_HERMES) +CONFIGURE_ARGS+= --enable-hermes +.else +CONFIGURE_ARGS+= --disable-hermes +.endif + CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} MANLANG= "" sk @@ -63,6 +73,12 @@ .else pre-extract: @${ECHO} "You can add hooks for KDE by defining WITH_KDE" +.endif + +.if !defined(WITHOUT_HERMES) +pre-everything:: + @${ECHO} "You can disable the Hermes library by defining WITHOUT_HERMES" + @${ECHO} .endif post-patch: --- windowmaker.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211261213.gAQCDmJh031080>