[Bug 202974] games/ioquake3-devel: plist broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 8 16:59:44 UTC 2015


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 at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
                CC: kamikaze at bsdforen.de
             Flags: maintainer-feedback?(kamikaze at bsdforen.de)
                CC: kamikaze at 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.


More information about the freebsd-ports-bugs mailing list