f1bb What if a port does not use build systems supported by ports - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Porting New Software

Porting New Software Having trouble or general questions about porting software to FreeBSD? Ask here.

Reply
 
Thread Tools Display Modes
  #1  
Old November 21st, 2008, 23:38
Kitche Kitche is offline
Junior Member
 
Join Date: Nov 2008
Posts: 53
Thanks: 1
Thanked 4 Times in 3 Posts
Default What if a port does not use build systems supported by ports

For example Ingres uses jam to build. How would I use this third party tool that is not supported by the ports system to build a port?
Reply With Quote
  #2  
Old November 21st, 2008, 23:46
kamikaze's Avatar
kamikaze kamikaze is offline
Member
 
Join Date: Nov 2008
Location: /earth/europe/germany
Posts: 366
Thanks: 6
Thanked 66 Times in 45 Posts
Default

You have to use BUILD_DEPENDS, sometimes there are also USE_X variables you can set.
__________________
sysutils/bsdadminscripts: binary package maintenance, library integrity checking, ...
sysutils/automounter: amd(8) based automounting without HAL
contact: kamikaze@bsdforen.de

Disclaimer: My posts represent my perception. Errors and incompleteness are to be expected, I deny any responsibility to know everything.
Reply With Quote
The Following User Says Thank You to kamikaze For This Useful Post:
Kitche (November 22nd, 2008)
  #3  
Old November 22nd, 2008, 00:43
Kitche Kitche is offline
Junior Member
 
Join Date: Nov 2008
Posts: 53
Thanks: 1
Thanked 4 Times in 3 Posts
Default

yea found that out after about a minute after I posted that but think I'll go with the linux port for this application for right now, since some of the files need to be edited to make it work cleanly by FreeBSD by default
Reply With Quote
  #4  
Old November 22nd, 2008, 09:59
kamikaze's Avatar
kamikaze kamikaze is offline
Member
 
Join Date: Nov 2008
Location: /earth/europe/germany
Posts: 366
Thanks: 6
Thanked 66 Times in 45 Posts
Default

You can add patches to the port, actually many ports do that. So if you're willing to spend the time have a look at the Porter's Handbook and give it a try.
__________________
sysutils/bsdadminscripts: binary package maintenance, library integrity checking, ...
sysutils/automounter: amd(8) based automounting without HAL
contact: kamikaze@bsdforen.de

Disclaimer: My posts represent my perception. Errors and incompleteness are to be expected, I deny any responsibility to know everything.
Reply With Quote
  #5  
Old November 22nd, 2008, 13:37
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

Check astro/gpstk for a simple example. It's not just BUILD_DEPENDS - you may also have to override some targets.
Reply With Quote
  #6  
Old November 23rd, 2008, 03:53
Kitche Kitche is offline
Junior Member
 
Join Date: Nov 2008
Posts: 53
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by kamikaze View Post
You can add patches to the port, actually many ports do that. So if you're willing to spend the time have a look at the Porter's Handbook and give it a try.
I read porter's handbook all the time, I m just digging a bit deeper into ports, since I have already sent a few patches for some ports to the PR system.

Just when I read the BUILD_DEPENDS part it got me a bit confused but think I'll try porting the linux version of this port over first before I tackle the source one at least for right now.
Reply With Quote
  #7  
Old November 23rd, 2008, 04:28
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

Quote:
Originally Posted by Kitche View Post
Just when I read the BUILD_DEPENDS part it got me a bit confused but think I'll try porting the linux version of this port over first before I tackle the source one at least for right now.
On a related note, where do you find the open source version of Ingres (if we're talking the database). I only see solaris and linux tarballs.
Reply With Quote
  #8  
Old November 23rd, 2008, 20:43
Kitche Kitche is offline
Junior Member
 
Join Date: Nov 2008
Posts: 53
Thanks: 1
Thanked 4 Times in 3 Posts
Default

It is on the ingres site it's the tarball that says -gpl-src on it. Think it's the first on the list when you download it on their site.

of course it's a registration download so you need to register to even grab it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
openoffice.org-3 build dies in hunspell omarsidd Installation and Maintenance of FreeBSD Ports or Packages 4 December 16th, 2008 19:36
postgresql-client-8.3.3 build error Ghirai Installation and Maintenance of FreeBSD Ports or Packages 15 November 30th, 2008 18:59
x11 build failed LordZ Installation and Maintenance of FreeBSD Ports or Packages 7 November 21st, 2008 08:46
net-snmp port upgrade build error on fbsd 7.0 ardya Installation and Maintenance of FreeBSD Ports or Packages 8 November 17th, 2008 10:41


All times are GMT +1. The time now is 22:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0