Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Sep 2015 16:59:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202974] games/ioquake3-devel: plist broken
Message-ID:  <bug-202974-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 202974
           Summary: games/ioquake3-devel: plist broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
                CC: kamikaze@bsdforen.de
             Flags: maintainer-feedback?(kamikaze@bsdforen.de)
                CC: kamikaze@bsdforen.de

http://poudriere.amdmi3.ru/data/10-amd64-default/all_2015_08_11/logs/errors/ioquake3-devel-g2390_2.log

---
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%DOCSDIR%%/opengl2-readme.txt
===> Error: Plist issues found.
...
pkg-static: duplicate file listing:
/usr/local/share/doc/ioquake3-devel/opengl2-readme.txt, fatal (developer mode)
---

This seemingly happens because Q3DOCS contains opengl2-readme.txt for
ioquake3-devel, and it's added again from this part of ioquake3 Makefile:

---
.if ${PORT_OPTIONS:MDLRENDERER}
MAKE_ARGS+=     USE_RENDERER_DLOPEN=1
. if ${IOQ3:MOPENGL2}
Q3DOCS+=        opengl2-readme.txt
. endif
.else
MAKE_ARGS+=     USE_RENDERER_DLOPEN=0
.endif
---

Actually, I would suggest reworking these ports as they seem to be too
complicated. I'd make ioquake3-devel standalone port (not a slave of ioquake3),
convert to option helpers, use explicit install commands (e.g.
do-install-OPTION-on: targets instead of incomprehensible IOQ3_INST logic),
PORTDOCS=*, simplify IOQ3 logic (it seems to be only used for server slave
port). You also don't need to ${CAT} ${PKGMESSAGE} from ports' Makefile.

-- 
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-202974-13>