Bug 94749 - [maintainer] databases/phpmyadmin -- correct an error in the previous update
Summary: [maintainer] databases/phpmyadmin -- correct an error in the previous update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-20 19:40 UTC by Matthew Seaman
Modified: 2006-03-21 14:33 UTC (History)
1 user (show)

See Also:


Attachments
phpmyadmin.diff (430 bytes, patch)
2006-03-20 19:40 UTC, Matthew Seaman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Seaman 2006-03-20 19:40:15 UTC
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.
Comment 1 Yen-Ming Lee freebsd_committer freebsd_triage 2006-03-21 01:23:40 UTC
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
Comment 2 Matthew Seaman 2006-03-21 07:02:10 UTC
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
Comment 3 Marcus Alves Grando freebsd_committer freebsd_triage 2006-03-21 14:27:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

I'll take it.
Comment 4 Marcus Alves Grando freebsd_committer freebsd_triage 2006-03-21 14:33:45 UTC
State Changed
From-To: open->closed

Committed. Thanks. Why is not possible to use bsd.port.pre.mk and 
bsd.port.post.mk?