databases/pgadmin3: make: illegal option -- -

Борис Самородов bsam at passap.ru
Mon Oct 8 13:13:27 UTC 2012


Hi All,

(the port maintainer is CCed)

08.10.2012 15:41, O. Hartmann пишет:

> Has anyone any idea what is happening and how to solve? Where to look?

I've found it out.

When py27-sphinx is installed the databases/pgadmin3 autodetects it
and try to build documentation. From the WRKSRC/Makefile:
-----
doc:
	cd $(top_srcdir)/docs/en_US && make -f Makefile.sphinx 
SPHINXBUILD=${SPHINX_BUILD} htmlhelp
-----

Hence the command "make" is used instead of "gmake". The attached patch
let you compile the port.

PS, as for me I hate those autodetecting schemas...
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
-------------- next part --------------
--- /home/bsam/tmp/ports-svn/databases/pgadmin3/Makefile	2012-10-02 16:04:33.052298929 +0400
+++ Makefile	2012-10-08 16:48:27.549142260 +0400
@@ -37,5 +37,6 @@
 	@${REINPLACE_CMD} -e 's,/wx-config,/${WX_CONFIG:T},' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's,/usr/bin/xterm,${LOCALBASE}/bin/xterm,' ${WRKSRC}/plugins.d/plugins.ini
 	@${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/pgadmin/ver_svn.sh
+	@${REINPLACE_CMD} -e 's, make -f , $$\{MAKE\} -f ,' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>


More information about the freebsd-ports mailing list