Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2016 23:28:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210081] [PATCH] games/imaze: Unbreak fetch, modernize
Message-ID:  <bug-210081-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210081

            Bug ID: 210081
           Summary: [PATCH] games/imaze: Unbreak fetch, modernize
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: lightside@gmx.com
          Keywords: patch

Created attachment 171109
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171109&action=
=3Dedit
Proposed patch (since 416324 revision)

Patch to unbreak and modernize games/imaze port.

- Bump PORTREVISION
- Unbreak fetch
- Add ATHENA option and set it by default, instead of XVIEW
- Convert GUI's options from RADIO to SINGLE
- Switch to options helpers
- Add MOTIFLIB define with proper value to fix linkage
- Add xmu to USE_XORG
- Regenerate patches

The proposed ATHENA option allows to differentiate between MOTIF and XVIEW
options (while they also use Xaw library), because they define TOOLKIT
variable, with the same meaning as the previous approach.
The ATHENA option defined by default, because it allows to build on 64-bit
platforms, unlike the XVIEW option.

Actually, the port uses files/patch-source_Makefile.in patch, which replaces
"MotifLibs=3D-lXm -lXt" with "MotifLibs=3D${MOTIFLIB}", but USES+=3Dmotif d=
efines
MOTFILIB?=3D"-L${LOCALBASE}/lib -lXm -lXp", where "-lXt" needed instead of
"-lXp". Therefore, either value of MOTFILIB could be fixed for Mk/Uses/moti=
f.mk
file, or I just defined it to proper value with "-lXt".

The distfile is fetchable:
% curl -sLI http://www.sourcefiles.org/Games/Arcade/imaze-1.4.tar.gz
HTTP/1.1 200 OK
Date: Mon, 06 Jun 2016 16:14:00 GMT
Server: Apache/2.2.3 (Fedora)
Last-Modified: Sun, 18 Mar 2007 02:00:00 GMT
ETag: "920ab-9e9e9-d4898800"
Accept-Ranges: bytes
Content-Length: 649705
Connection: close
Content-Type: application/x-gzip

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210081-13>