Thanks to Matt Smith for bringing this to my attention. OPTIONS processing in the phpmyadmin Makefile happens rather early and so requires that PORT_DBDIR be set in the Makefile directly. Deleting the relevant line in the last update seems to have been an error.
Maybe you should take a look on Porter's Handbook first, and include bsd.port.pre.mk and bsd.port.post.mk instead of define and include OPTIONSFILE by yourself. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-options.html -- Yen-Ming Lee [utf7:+Z05fZWYO] | KeyID:0x5EB52E51 | Taipei, Taiwan
Yen-Ming Lee wrote: > Maybe you should take a look on Porter's Handbook first, and include > bsd.port.pre.mk and bsd.port.post.mk instead of define and include > OPTIONSFILE by yourself. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-options.html > Unlike the general usage of OPTIONS, the options processing in this port only affects the RUN_DEPENDS for the port. This is the most effective way to do that. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW
Responsible Changed From-To: freebsd-ports-bugs->mnag I'll take it.
State Changed From-To: open->closed Committed. Thanks. Why is not possible to use bsd.port.pre.mk and bsd.port.post.mk?