Bug 129893 - net/nxserver: ldconfig not set up properly
Summary: net/nxserver: ldconfig not set up properly
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: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-24 01:00 UTC by martinko
Modified: 2008-12-31 00:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martinko 2008-12-24 01:00:11 UTC
The port cannot find its shared libraries because the lib path is not properly configured in the port's Makefile:
Instead of /usr/local/NX/lib is configured /usr/local/NX only which then propagates into /usr/local/libdata/ldconfig/nxserver.

Fix: 

.include <bsd.port.pre.mk>--4fA6c78jKIAa8noKKgT3XwVvzoLZWk95r4qb3ONCWGE0QoSm
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile    2008-06-06 15:50:12.000000000 +0200
+++ Makefile.fixed      2008-12-24 01:46:55.000000000 +0100
@@ -39,7 +39,7 @@
 ALL_TARGET=    World
 PLIST_SUB+=    NX_MAJOR=${PORTVERSION:R:R} NX_VERSION=${PORTVERSION}
 NXPREFIX?=     ${PREFIX}/NX
-USE_LDCONFIG=	${NXPREFIX}
+USE_LDCONFIG=	${NXPREFIX}/lib
How-To-Repeat: Install net/nxserver and try to run some of its binaries e.g. /usr/local/NX/bin/nxagent
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-12-24 01:00:18 UTC
Maintainer of net/nxserver,

Please note that PR ports/129893 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/129893

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-12-24 01:00:19 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 dewey 2008-12-24 16:39:50 UTC
On Dec 23, 2008, at 8:00 PM, Edwin Groothuis wrote:

> Maintainer of net/nxserver,
>
> Please note that PR ports/129893 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/129893
>
> -- 
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org

approved
Comment 4 freenx 2008-12-24 16:41:04 UTC
On Dec 23, 2008, at 8:00 PM, Edwin Groothuis wrote:

> Maintainer of net/nxserver,
>
> Please note that PR ports/129893 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/129893
>
> -- 
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org

approved
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2008-12-24 18:41:37 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 6 Dmitry Marakasov freebsd_committer freebsd_triage 2008-12-29 15:19:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 7 Dmitry Marakasov freebsd_committer freebsd_triage 2008-12-31 00:09:58 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 8 dfilter service freebsd_committer freebsd_triage 2008-12-31 00:10:11 UTC
amdmi3      2008-12-31 00:09:56 UTC

  FreeBSD ports repository

  Modified files:
    net/nxserver         Makefile 
  Log:
  - Use correct path in USE_LDCONFIG
  
  PR:             129893
  Submitted by:   martinko <gamato at users dot sf dot net>
  Approved by:    Dewey Hylton <freenx at deweyonline dot com> (maintainer)
  
  Revision  Changes    Path
  1.13      +2 -2      ports/net/nxserver/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"