Bug 166082 - [patch] devel/gdb does not install gdb link from packages.
Summary: [patch] devel/gdb does not install gdb link from packages.
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: Romain Tartière
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-14 09:20 UTC by Romain Tartière
Modified: 2012-04-01 17:20 UTC (History)
0 users

See Also:


Attachments
p1 (970 bytes, text/plain)
2012-03-14 09:20 UTC, Romain Tartière
no flags Details
file.diff (1003 bytes, patch)
2012-03-14 09:20 UTC, Romain Tartière
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Tartière freebsd_committer freebsd_triage 2012-03-14 09:20:01 UTC
Installing a package of devel/gdb with GDB_LINK option set does not install the ${LOCALBASE}/bin/gdb link.

Fix: Either create the link from the pkg-plist in the same fashion it is removed on
uninstall and remove the related lines from the Makefile:

OR package the link in pkg-plist:
How-To-Repeat: 
# cd /usr/ports/devel/gdb && make package
# file /usr/local/bin/gdb # Works
# pkg_delete gdb-\*
# pkg_add gdb*
# file /usr/local/bin/gdb # Fails
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-03-14 09:20:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->romain

Submitter has GNATS access (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-03-14 09:20:50 UTC
Maintainer of devel/gdb,

Please note that PR ports/166082 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166082

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-03-14 09:20:52 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 luca.pizzamiglio 2012-03-21 10:04:26 UTC
I tested the first patch attached (p1) and I happily approve it!
thanks for the support

Luca
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-04-01 17:13:19 UTC
romain      2012-04-01 16:13:10 UTC

  FreeBSD ports repository

  Modified files:
    devel/gdb            Makefile pkg-plist 
  Log:
  Create ${PREFIX}/bin/gdb link when installing from a packages with GDB_LINK enabled.
  
  PR:             ports/166082
  Submitted by:   romain (myself)
  Approved by:    Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (Maintainer)
  Feature safe:   yes
  
  Revision  Changes    Path
  1.15      +1 -4      ports/devel/gdb/Makefile
  1.4       +1 -0      ports/devel/gdb/pkg-plist
_______________________________________________
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 6 Romain Tartière freebsd_committer freebsd_triage 2012-04-01 17:13:44 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!