Bug 112621 - sysutils/lookupd amd64 patch
Summary: sysutils/lookupd amd64 patch
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: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-12 16:00 UTC by Michael Bushkov
Modified: 2007-06-17 01:09 UTC (History)
0 users

See Also:


Attachments
lookupd_amd64.patch (544 bytes, patch)
2007-05-12 16:00 UTC, Michael Bushkov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Bushkov 2007-05-12 16:00:09 UTC
	Doesn't compile on amd64 due to the lack of -fPIC flag in
	snapsot_lib/Makefile

How-To-Repeat: 	Compile.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-12 16:00:25 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-12 16:00:42 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 3 Michael Bushkov 2007-05-12 17:16:22 UTC
I approve the patch.

Edwin Groothuis wrote:
> Maintainer of sysutils/lookupd,
> 
> Please note that PR ports/112621 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/112621
> 

-- 
With best regards,
Michael Bushkov
Southern Federal University
Comment 4 Martin Matuska freebsd_committer freebsd_triage 2007-06-11 13:41:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

I'll take this one.
Comment 5 Martin Matuska freebsd_committer freebsd_triage 2007-06-11 15:17:14 UTC
This is used to be solved in a different way, by modifying CFLAGS.
Please approve the following patch. Thank you.

Downloadable from:
http://mm.vx.sk/diffs/lookupd-0.3.c_1.diff

Index: ports/sysutils/lookupd/Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/lookupd/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- ports/sysutils/lookupd/Makefile    7 Oct 2006 15:12:28 -0000    1.8
+++ ports/sysutils/lookupd/Makefile    11 Jun 2007 14:03:45 -0000
@@ -6,6 +6,7 @@
 
 PORTNAME=    lookupd
 PORTVERSION=    0.3.c
+PORTREVISION=    1
 CATEGORIES=    sysutils
 MASTER_SITES=    http://www.rsu.ru/~bushman/lookupd/downloads/
 
@@ -30,4 +31,8 @@
 IGNORE=        is only supported on FreeBSD 5.1 or later
 .endif
 
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+=    -fPIC
+.endif
+
 .include <bsd.port.post.mk>
Comment 6 dfilter service freebsd_committer freebsd_triage 2007-06-14 09:41:49 UTC
mm          2007-06-14 08:41:43 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/lookupd     Makefile 
  Log:
  - fix build on amd64 and ia64 archs
  
  PR:             ports/112621
  Submitted by:   Michael Bushkov <bushman@stinger.cc.rsu.ru> (maintainer)
  Approved by:    garga (mentor)
  
  Revision  Changes    Path
  1.9       +5 -0      ports/sysutils/lookupd/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 7 Martin Matuska freebsd_committer freebsd_triage 2007-06-17 01:08:38 UTC
State Changed
From-To: feedback->closed

Commited with changes, thanks!