Bug 211839

Summary: lang/harbour: make database options work and other fixes
Product: Ports & Packages Reporter: Pawel Pekala <pawel>
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me CC: m.tsatsenko
Priority: --- Flags: m.tsatsenko: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix db options none

Description Pawel Pekala freebsd_committer freebsd_triage 2016-08-14 15:38:49 UTC
Created attachment 173668 [details]
fix db options

- Make FIREBIRD, MYSQL, PGSQL, SQLITE actually work. By providing correct include directories via MAKE_ENV makes this ports detect installed client db libraries and produce include files and static libraries for each supported database.
- Respect CFLAGS and LDFLAGS during build, disable optimized compilation flags via HB_BUILD_OPTIM=no - this removes -O3 flag from CFLAGS
- Convert to options helpers, USES=ssl
- Use options substitutions for optional database support files
- Sort pkg-plist
Comment 1 m.tsatsenko 2016-08-22 21:30:10 UTC
Looks fine for me.
Thanks for your work!
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-08-23 20:43:19 UTC
A commit references this bug:

Author: pawel
Date: Tue Aug 23 20:42:23 UTC 2016
New revision: 420746
URL: https://svnweb.freebsd.org/changeset/ports/420746

Log:
  - Make FIREBIRD, MYSQL, PGSQL, SQLITE actually work. By providing correct
    include directories via MAKE_ENV makes this ports detect installed client
    db libraries and produce include files and static libraries for each
    supported database.
  - Respect CFLAGS and LDFLAGS during build, disable optimized compilation
    flags via HB_BUILD_OPTIM=no - this removes -O3 flag from CFLAGS
  - Convert to options helpers, USES=ssl
  - Use options substitutions for optional database support files
  - Sort pkg-plist

  PR:		211839
  Submitted by:	myself
  Approved by:	maintainer

Changes:
  head/lang/harbour/Makefile
  head/lang/harbour/pkg-plist