Page MenuHomeFreeBSD

net-mgmt/pmacct: Rework/fix plist logic
AbandonedPublic

Authored by otis on Jan 19 2020, 1:16 PM.
Tags
None
Referenced Files
F173426768: D23261.id67008.diff
Fri, Sep 25, 9:10 PM
F173426371: D23261.id66996.diff
Fri, Sep 25, 9:07 PM
F173425043: D23261.id67069.diff
Fri, Sep 25, 8:56 PM
F173423494: D23261.id67096.diff
Fri, Sep 25, 8:44 PM
F173423248: D23261.id68681.diff
Fri, Sep 25, 8:42 PM
F173421227: D23261.id67153.diff
Fri, Sep 25, 8:26 PM
F173418150: D23261.id66997.diff
Fri, Sep 25, 8:01 PM
F173404670: D23261.diff
Fri, Sep 25, 6:10 PM

Details

Reviewers
pi
Summary

Fix substitution of SQLDOC in plist. Previously, SQLDOC was always overwritten to "@comment " by subsequent condition (except from the last one).

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 29533
Build 27398: arc lint + arc unit

Event Timeline

  • net-mgmt/pmacct: Fix the SQLDOC substitution logic
  • net-mgmt/pmacct: Use also pkgconfig to help database library detection
  • Remove obsolete/unused options
  • net-mgmt/pmacct: Update Makefile

you could get rid of most of the if-fery

net-mgmt/pmacct/Makefile
35–36

why not

MYSQL_USES=mysql
MYSQL_CONFIGURE_ENABLE=mysql
48–49
MLAYER2_CONFIGURE_ENABLE=...
  • net-mgmt/pmacct: Rework port options a bit.
  • Rework options processing logic

you could get rid of most of the if-fery

net-mgmt/pmacct/Makefile
48–49

WIthout leading M.

pi requested changes to this revision.Feb 22 2020, 4:53 PM

I've tried to apply the diff, but it failed. Can you update the patch to the most recent version of the Makefile and
test, wether it applies ?

This revision now requires changes to proceed.Feb 22 2020, 4:53 PM
otis marked an inline comment as done.

Fix plist logic and pgsql module

Please check the diff again. I updated the port to 1.7.4p1 yesterday, and this diff does not look similar to your first version of the patch ?

New diff revision will be created.