Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Nov 2014 10:02:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194406] [new port] graphics/code-eli
Message-ID:  <bug-194406-13-YKM1eUIZDf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194406-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194406-13@https.bugs.freebsd.org/bugzilla/>

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

John Marino <marino@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marino@FreeBSD.org

--- Comment #2 from John Marino <marino@FreeBSD.org> ---
The log looks good, but I see several issues (or possible issues) with the
shar:

1) You used "@" on all your commands in the do-install target.  You are only
allowed to mask mkdir commands

2) the clang stuff is hacked
X.if ${OSVERSION} < 1000000
XBUILD_DEPENDS+=    clang33:${PORTSDIR}/lang/clang33
XCC=             clang33
XCXX=            clang++33
XCPP=            clang-cpp33
X.endif
You should not checking OSVERSION, you should be using USES=compiler:args. 
Even if you did use OSVERSION (you can't) you need to prefix it with ${OPSYS}
== FreeBSD since OSVERSION only applies to FreeBSD

3) this line:
XWRKSRC=        ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}
I suspect using GITHUB already properly defines WRKSRC -- please check

4) these lines:
XBUILD_DEPENDS+=   
${LOCALBASE}/include/eigen3/Eigen/src/Core/Array.h:${PORTSDIR}/math/eigen3
XBUILD_DEPENDS+=    ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen

change to: 
XBUILD_DEPENDS=   
${LOCALBASE}/include/eigen3/Eigen/src/Core/Array.h:${PORTSDIR}/math/eigen3 \
        ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen

5) PORTREVISION=1
A new port should never define PORTREVISION.  I should be "0" right?

6) PORTDOCS
Personally I'd like to see you define "PORTDOCS= html latex" in the makefile
and remove EVERY SINGLE PORTDOCS line from the pkg-plist.  You can also remove
the check for PORT_OPTIONS:MDOCS and just install them unconditionally.  (the
port will ignore them if the DOCS option is unset).  But you can also leave it
if the copying of the html and latex is heavy.

7) PORTEXAMPLES
You can also define "PORTEXAMPLES= AirfoilFitExample VSPPodExample test" and
remove these from the pkg-plist too if you want.

8) USES
don't define USES+= on the first instance, it should be "USES=   
cmake:outsource"

-- 
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-194406-13-YKM1eUIZDf>