Bug 141440 - [patch] add amd64 support for lang/gprolog
Summary: [patch] add amd64 support for lang/gprolog
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: Stefan Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-13 23:40 UTC by Nathan Smoot
Modified: 2010-06-26 13:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.26 KB, patch)
2009-12-13 23:40 UTC, Nathan Smoot
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Smoot 2009-12-13 23:40:01 UTC
The port lang/gprolog is restricted to the i386 arch by ONLY_FOR_ARCHS.

Fix: There is a newer version of gprolog available. Ports currently has 1.3.0 while 1.3.1 exists. The configure.in of 1.3.1 has:

x86_64*bsd*)      AC_DEFINE(M_x86_64_bsd);;

while 1.3.0 does not.

By upgrading to version 1.3.1 and modifying the ports Makefile to define CONFIGURE_TARGET, lang/gprolog builds successfully on 8.0-RELEASE-p1 amd64. Please see attached patch.



Patch attached with submission follows:
How-To-Repeat: from a machine running amd64 FreeBSD...

# cd /usr/local/lang/gprolog
# make install clean
===> gprolog-1.3.0 is only for i386, while you are running amd64.
*** Error code 1

Stop in /usr/ports/lang/gprolog.
#
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-12-13 23:40:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-01-02 17:35:57 UTC
Responsible Changed
From-To: vs->freebsd-ports-bugs

Maintainer was reset. 

To submitter: would you be interested in becoming the new maintainer?
Comment 3 Nathan Smoot 2010-01-03 04:32:12 UTC
To linimon: sure.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2010-01-03 07:17:57 UTC
State Changed
From-To: open->analyzed

Submitter is willing to become new maintainer.
Comment 5 Stefan Walter freebsd_committer freebsd_triage 2010-05-16 11:11:34 UTC
Hi Nathan,

lang/gprolog has been updated to 1.3.1 in the meantime. If you're still
interested, could you send an updated patch against the current version
with your changes for amd64 and you as the new maintainer?

Best regards,
Stefan
Comment 6 Stefan Walter freebsd_committer freebsd_triage 2010-05-16 11:12:00 UTC
State Changed
From-To: analyzed->feedback

Awaiting submitter's feedback. 


Comment 7 Stefan Walter freebsd_committer freebsd_triage 2010-05-16 11:12:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Take.
Comment 8 dfilter service freebsd_committer freebsd_triage 2010-06-25 14:05:47 UTC
stefan      2010-06-25 13:05:33 UTC

  FreeBSD ports repository

  Modified files:
    lang/gprolog         Makefile 
  Log:
  Make it build on amd64, too, by adjusting CONFIGURE_TARGET.
  
  PR:             141440
  Submitted by:   Nathan Smoot <putwastehere@gmail.com>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.28      +2 -1      ports/lang/gprolog/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 9 Stefan Walter freebsd_committer freebsd_triage 2010-06-25 14:05:48 UTC
State Changed
From-To: feedback->closed

Committed, thanks! (Maintainer NOT changed due to feedback timeout, though.)
Comment 10 dfilter service freebsd_committer freebsd_triage 2010-06-26 13:02:21 UTC
stefan      2010-06-26 12:02:08 UTC

  FreeBSD ports repository

  Modified files:
    lang/gprolog         Makefile pkg-plist 
  Log:
  - Fix plist with NOPORTDOCS/NOPORTEXAMPLES. [1]
  - Update MAINTAINER. [2]
  
  PR:             ports/141440 [2]
  Submitted by:   Nathan Smoot <n.smoot@gmail.com> [2]
  Patch by:       swell.k@gmail.com [1]
  Feature safe:   yes
  
  Revision  Changes    Path
  1.29      +16 -5     ports/lang/gprolog/Makefile
  1.10      +0 -66     ports/lang/gprolog/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"