Bug 168445

Summary: [PATCH] editors/libreoffice: add LDFLAGS
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed FIXED    
Severity: Affects Only Me CC: office
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
libreoffice-3.5.2_2.patch none

Description Dmitry Marakasov 2012-05-30 00:00:12 UTC
LO doesn't configure for me with all options disabled:

---
checking which db to use... external
checking db-42/db.h usability... no
checking db-42/db.h presence... no
checking for db-42/db.h... no
checking db42/db.h usability... yes
checking db42/db.h presence... yes
checking for db42/db.h... yes
checking whether db is at least 4.1... yes
checking for dbopen in -ldb-4.2... no
checking for __db185_open in -ldb-4.2... no
checking for dbopen in -ldb-4.2... no
checking for __db185_open in -ldb-4.2... no
configure: error: db library not found. Use the correct -L flag,
or install the Berkeley db development package.
---

config.log:
---
configure:23270: checking for dbopen in -ldb-4.2
configure:23305: clang -o conftest -O2 -pipe -march=nocona -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/db42  -rpath=/usr/lib:/usr/local/lib conftest.c -ldb-4.2   >&5
clang: warning: argument unused during compilation: '-rpath=/usr/lib:/usr/local/lib'
/usr/bin/ld: cannot find -ldb-4.2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:23312: $? = 1
---

Adding standard LDFLAGS fixes it.

Port maintainer (office@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)

How-To-Repeat: Try to build libreoffice with all options disabled.
Comment 1 Michael Scheidell freebsd_committer freebsd_triage 2012-05-30 17:05:30 UTC
State Changed
From-To: open->feedback

Pr contains a patch that needs approval. 


Comment 2 Michael Scheidell freebsd_committer freebsd_triage 2012-05-30 17:05:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Kick to office@ (seems GNATS could not? can not follow ../CURDIR/ includes to find Maintainer?
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-05-31 09:05:15 UTC
bapt        2012-05-31 08:04:56 UTC

  FreeBSD ports repository

  Modified files:
    editors/libreoffice  Makefile 
  Log:
  Fix build with no options activated [1]
  While here convert to new options framework
  Switch pgsql options off by default
  Mark build with DEBUG as ignore is it known to fail
  Bump port revision
  
  PR:             ports/168445 [1]
  Submitted by:   amdmi3@ [1]
  
  Revision  Changes    Path
  1.44      +29 -30    ports/editors/libreoffice/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2012-05-31 09:06:02 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!