Bug 141640 - [patch] mail/exim: fix pcre linking
Summary: [patch] mail/exim: fix pcre linking
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 14:10 UTC by Artis Caune
Modified: 2010-09-07 03:10 UTC (History)
0 users

See Also:


Attachments
file.diff (562 bytes, patch)
2009-12-15 14:10 UTC, Artis Caune
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Artis Caune 2009-12-15 14:10:02 UTC
When making exim package, it fails with:
..
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
cc version.c
rm -f exim
cc -o exim
/usr/bin/ld: cannot find -lpcre
*** Error code 1

Stop in /usr/ports/mail/exim/work/exim-4.71/build-FreeBSD-amd64.
*** Error code 1

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-12-15 14:10:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->krion

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Artis Caune 2009-12-15 20:03:26 UTC
This happens only if there are no dependencies for /usr/local/*

I'm building with:
    DAEMON
    IPV6
    SUID




-- 
Artis Caune

    Everything should be made as simple as possible, but not simpler.
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-02 06:30:55 UTC
Responsible Changed
From-To: krion->pgollucci

maintainer timeout (krion ; 255 days)
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-07 03:05:34 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2010-09-07 03:05:37 UTC
pgollucci    2010-09-07 02:05:29 UTC

  FreeBSD ports repository

  Modified files:
    mail/exim            Makefile 
  Log:
  - Fix pcre lib linking if nothing adds ${LOCALBASE}/lib to LDFLAGS
  
  PR:             ports/141640
  Submitted by:   Artis Caune <Artis.Caune@gmail.com>
  Approved by:    maintainer timeout (krion ; 255 days)
  
  Revision  Changes    Path
  1.252     +1 -1      ports/mail/exim/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"