portmaster --packages-if-newer but forcing some ports to compile from source

Manuel Chaviano manny at computer.org
Thu Jul 8 02:59:56 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

is there a way to force portmaster to always
build a particular port from source?

Perhaps something like the existence of a file:

	/var/db/pkg/*/PM_ALWAYS_USE_PORT



I am using portmaster -aDB --packages-if-newer in a regular basis
to update my installed ports in the shortest possible time.

However I have 2 ports installed that I must build from source
regardless whether the newer binary package is available or not.


claws-mail: 
reason: the binary package does not have the pgp-xxxxx enabled.

gtk20: 
reason: CUPS is disabled in the binary package.



What I have to do then is a little inconvenient:

portmaster -aDB --packages-if-newer --no-confirm 

NOTE: I have tried adding -x gtk20 -x claws-mail but it will
excluded too many other ports/pkgs (the glob will match).

...then manually rebuilding/reinstalling gtk20 and claws-mail.



Thanks
- -- 
Bye now...

A friend who cannot at a pinch remember a thing or two that never happened is as bad as one who does not know how to forget.
- -- Samuel Butler
       __
      ///      Manuel Chaviano
 __  ///
 \\\/// 
  \XX/         FreeBSD 8-STABLE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAkw1ObAACgkQ0Nrv8E+By32MFwCfaIdpsoaSAfWW0WUspuLgmHIe
31YAoK9AwikU0TU/QRxFrWLjSR4f3mXJ
=jjmH
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list