[Bug 210081] [PATCH] games/imaze: Unbreak fetch, modernize

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 6 23:28:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210081

            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 at FreeBSD.org
          Reporter: lightside at gmx.com
          Keywords: patch

Created attachment 171109
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171109&action=edit
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=-lXm -lXt" with "MotifLibs=${MOTIFLIB}", but USES+=motif defines
MOTFILIB?="-L${LOCALBASE}/lib -lXm -lXp", where "-lXt" needed instead of
"-lXp". Therefore, either value of MOTFILIB could be fixed for Mk/Uses/motif.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

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


More information about the freebsd-ports-bugs mailing list