freebsd / portmaster

FreeBSD port management script without external databases or languages
77 stars 40 forks source link

added support for port specific make arguments #29

Closed skoef closed 10 years ago

skoef commented 10 years ago

With minimal extra dependencies (to grep and awk with come with the base install), port specific make arguments can hacked into the postmaster.rc file. This feature is the only reason I haven't completely switched from sluggish portupgrade to portmaster professionally.

bdrewery commented 10 years ago

Why not just put it in /etc/make.conf?

Example:

 .if ${.CURDIR:M*/ports-mgmt/pkg}
 DEBUG_FLAGS=-g -O0
 WITH_DEBUG=yes
 .endif
skoef commented 10 years ago

That's a very good alternative, was not familiar with/did not occur to me.