Re: Help with making a port C11 compliant
Now the test with gcc47 is finish,it does not work with poudriere. But gcc48 and gcc5. The /CXXFLAGS+= -D_GLIBCXX_USE_C99 flag is used in two dozens of ports (if you look in the portstree) for same or similiar reasons, I think it will be ok./ ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Help with making a port C11 compliant
On 05/06/2016 04:35 PM, Walter Schwarzenfeld wrote: > Write in the Makefiles of math/cln and math/GiNaC > > USE_GCC= 4.7 > (you can also use 4.8 or 5) > and > CXXFLAGS+= -D_GLIBCXX_USE_C99 > > I have tested it with 4.7 and 5 in the port and with gcc5 with poudriere > in a 93amd64 jail (the test with 4.7 is running in the moment). > And it builds fine. If the suggestion by Brooks Davis doesn't work, I'll give this a try. But I will wrap it in a ".if ${OSVERSION} < 100". Thanks, Stephen ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Help with making a port C11 compliant
Write in the Makefiles of math/cln and math/GiNaC USE_GCC= 4.7 (you can also use 4.8 or 5) and CXXFLAGS+= -D_GLIBCXX_USE_C99 I have tested it with 4.7 and 5 in the port and with gcc5 with poudriere in a 93amd64 jail (the test with 4.7 is running in the moment). And it builds fine. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Help with making a port C11 compliant
On Fri, May 06, 2016 at 04:16:54PM +, Montgomery-Smith, Stephen wrote: > Here is my problem: > http://beefy2.nyi.freebsd.org/data/93amd64-default/414631/logs/GiNaC-1.7.0.log > > the configure script says: > configure: error: Standard ISO C++ headers are missing > > In the Makefile I have the line: > USES= compiler:c++11-lang > > Is there anything else I need to do? I should add that seems to be a > FreeBSD-9 only problem - it builds fine on FreeBSD-10 and higher. You may need compiler:c++11-lib to get a standard library. That said, compiler:c++11-lib doesn't actually result in a fully functional C++11 environment on 9.x so you may need to abandon the port on 9.x. -- Brooks signature.asc Description: PGP signature
Re: help with making a port
On 08/07/2013 05:32, Aryeh Friedman wrote: On Sun, Jul 7, 2013 at 3:51 PM, Jason Helfman wrote: pkg which /path/to/file or pkg_info -W /path/to/file aryeh@dev:/home/aryeh% pkg_info -W /usr/local/share/foo/foo.jar pkg_info: You appear to be using the newer pkg(1) tool on this system Of the two examples 'pkg_info -W' is the old way and 'pkg which' is the new way. The error from pkg_info -W indicates you have the new package system setup and need to use the pkg which command. Is this your first attempt at making the port? Maybe you have an old attempt still in place. Did you move the port to a new category folder? As foo-0.1 isn't the real name of the port, are you certain that the name you are using is a new unique name? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: help with making a port
On Sun, Jul 7, 2013 at 3:51 PM, Jason Helfman wrote: > pkg which /path/to/file > or > pkg_info -W /path/to/file > > Odd though that you checked there, and it wasn't recorded aryeh@dev:/home/aryeh% pkg_info -W /usr/local/share/foo/foo.jar pkg_info: You appear to be using the newer pkg(1) tool on this system for package management, rather than the legacy package management tools (pkg_*). The legacy tools should no longer be used on this system. pkg_info: /var/db/pkg/aegis-4.24.3/+CONTENTS: No such file or directory aryeh@dev:/home/aryeh% pkg_info which /usr/local/share/foo/foo.jar pkg_info: You appear to be using the newer pkg(1) tool on this system for package management, rather than the legacy package management tools (pkg_*). The legacy tools should no longer be used on this system. pkg_info: can't find package 'which' installed or in a file! tar: +*: Not found in archive tar: Error exit delayed from previous errors. pkg_info: tar extract of /usr/local/share/foo/foo.jar failed! pkg_info: error during unpacking, no info for '/usr/local/share/foo/foo.jar' available ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: help with making a port
pkg which /path/to/file or pkg_info -W /path/to/file Odd though that you checked there, and it wasn't recorded -jgh On Sun, Jul 7, 2013 at 11:55 AM, Aryeh Friedman wrote: > Looking in /var/db/pkg and /var/db/ports I see nothing... anywhere else to > look? > > -- -- Jason Helfman | FreeBSD Committer j...@freebsd.org | http://people.freebsd.org/~jgh | The Power to Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: help with making a port
Looking in /var/db/pkg and /var/db/ports I see nothing... anywhere else to look? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: help with making a port
On Sun, Jul 7, 2013 at 10:44 AM, Aryeh Friedman wrote: > oops forgot the pkg-plist: > > share/foo/foo.jar > etc/rc.d/foo > etc/foo/instances > apache-tomcat-7.0/webapps/foo.war > > > > On Sun, Jul 7, 2013 at 1:42 PM, Aryeh Friedman > wrote: > > It uses a non-standard build system (devel/cook) but here is the > > Makefile for the port itself (not the program). Also note for legal > > reasons (we are still in the process of getting a trademark on the > > name) I have changed the actual port name, category and comment [the > > real values are known to one of the 10-CURRENT developers we are > > working with though]. Also note I have not added any of the depends > > stuff yet: > > > > > > # $FreeBSD$ > > > > PORTNAME= foo > > PORTVERSION= 0.1 > > CATEGORIES= bar > > MASTER_SITES= ftp://foo.org/foo/ > > MAINTAINER= supp...@foo.org > > COMMENT= A foobar platform > > > > .include > > > > > Well, nothing looks suspect at this point. Perhaps you have another port installed that is conflicting with the same file that is installed in that location. Maybe see what package that file in conflict is registered to. On a side note, it is highly unrecommended to install a war file, as that will leave the filesystem unclean on de-installation. It is standard practice to expand the war file in the work directory of the port, then install the files contained within the war under the application server (such as tomcat), and add those files to the plist. I have many examples of this if you need assistance. -jgh -- Jason Helfman | FreeBSD Committer j...@freebsd.org | http://people.freebsd.org/~jgh | The Power to Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: help with making a port
oops forgot the pkg-plist: share/foo/foo.jar etc/rc.d/foo etc/foo/instances apache-tomcat-7.0/webapps/foo.war On Sun, Jul 7, 2013 at 1:42 PM, Aryeh Friedman wrote: > It uses a non-standard build system (devel/cook) but here is the > Makefile for the port itself (not the program). Also note for legal > reasons (we are still in the process of getting a trademark on the > name) I have changed the actual port name, category and comment [the > real values are known to one of the 10-CURRENT developers we are > working with though]. Also note I have not added any of the depends > stuff yet: > > > # $FreeBSD$ > > PORTNAME= foo > PORTVERSION= 0.1 > CATEGORIES= bar > MASTER_SITES= ftp://foo.org/foo/ > MAINTAINER= supp...@foo.org > COMMENT= A foobar platform > > .include > > > > On Sun, Jul 7, 2013 at 1:36 PM, Jason Helfman wrote: >> On Sun, Jul 7, 2013 at 10:12 AM, Aryeh Friedman >> wrote: >>> >>> I am attempting to put together a port for a new program and I am >>> getting a very odd error message (i.e. it says the port conflicts with >>> itself!?!?!?!): >>> >>> pkg-static: foo-0.1 conflicts with foo-0.1 (installs files into the >>> same place). Problematic file: /usr/local/share/foo/foo.jar >>> >>> What causes this and how do I fix the make file? >> >> >> Posting your port code can only help in assisting. >> >> Thanks. >> >> -jgh >> >> -- >> Jason Helfman | FreeBSD Committer >> j...@freebsd.org | http://people.freebsd.org/~jgh | The Power to Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: help with making a port
It uses a non-standard build system (devel/cook) but here is the Makefile for the port itself (not the program). Also note for legal reasons (we are still in the process of getting a trademark on the name) I have changed the actual port name, category and comment [the real values are known to one of the 10-CURRENT developers we are working with though]. Also note I have not added any of the depends stuff yet: # $FreeBSD$ PORTNAME= foo PORTVERSION= 0.1 CATEGORIES= bar MASTER_SITES= ftp://foo.org/foo/ MAINTAINER= supp...@foo.org COMMENT= A foobar platform .include On Sun, Jul 7, 2013 at 1:36 PM, Jason Helfman wrote: > On Sun, Jul 7, 2013 at 10:12 AM, Aryeh Friedman > wrote: >> >> I am attempting to put together a port for a new program and I am >> getting a very odd error message (i.e. it says the port conflicts with >> itself!?!?!?!): >> >> pkg-static: foo-0.1 conflicts with foo-0.1 (installs files into the >> same place). Problematic file: /usr/local/share/foo/foo.jar >> >> What causes this and how do I fix the make file? > > > Posting your port code can only help in assisting. > > Thanks. > > -jgh > > -- > Jason Helfman | FreeBSD Committer > j...@freebsd.org | http://people.freebsd.org/~jgh | The Power to Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: help with making a port
On Sun, Jul 7, 2013 at 10:12 AM, Aryeh Friedman wrote: > I am attempting to put together a port for a new program and I am > getting a very odd error message (i.e. it says the port conflicts with > itself!?!?!?!): > > pkg-static: foo-0.1 conflicts with foo-0.1 (installs files into the > same place). Problematic file: /usr/local/share/foo/foo.jar > > What causes this and how do I fix the make file? > Posting your port code can only help in assisting. Thanks. -jgh -- Jason Helfman | FreeBSD Committer j...@freebsd.org | http://people.freebsd.org/~jgh | The Power to Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Help with making a port using Java
Hi, Alejandro Pulver, 24.10.06, 00:21h CEST: > > I have read the PH entry about Java but it doesn't describe how to > > solve some problems I am having, related to ANT (not finding packages). > > > > I have attached two partial ports, which fail to build. > > > > Could someone please point me in the right direction? > > > > Thanks and Best Regards, > > Ale > > It seems the attachments got lost, I have uploaded them here (antsp2p > and tuxguitar): Regarding antsp2p: The ANT build file (build.xml) in ${WRKSRC} is just a template. It seems the real build file the developers use is ${WRKSRC}/nbproject/build-impl.xml. However, ${WRKSRC}/dist already seems to contain the resulting JAR file and the JavaDoc documentation, so you probably don't necessarily have to compile anything (if you don't want to, that is), just copy files. I haven't really looked at tuxguitar (yet). Regards, Stefan pgpC1l8ghg1C6.pgp Description: PGP signature
Re: Help with making a port using Java
On Tue, 24 Oct 2006 00:24:01 +0200 Kay Abendroth <[EMAIL PROTECTED]> wrote: > I haven't found anything attached. > Right, please see my reply to myslef. Best Regards, Ale signature.asc Description: PGP signature
Re: Help with making a port using Java
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I haven't found anything attached. Alejandro Pulver wrote: > Hello. > > I have read the PH entry about Java but it doesn't describe how to > solve some problems I am having, related to ANT (not finding packages). > > I have attached two partial ports, which fail to build. > > Could someone please point me in the right direction? > > Thanks and Best Regards, > Ale -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) iQEVAwUBRT1BAf6xkxz4DngiAQjQ0Af8CjMDVj7vYtNOILl7kqdZ0t3Qeyb+Ud19 fL+q12GZq4qp60tarVny68LZDlGieOaigleqX5wdScik0vjsAzFClYinTCbJ7Pr/ wyq7q2To0Yoqz0VKhLA9wWvoD3gD4eFYog+mKLJEksiAkqtb/x4pMxP5TVjXLzU7 ve1NFBowkGR0L2Hz8+iqF1EVjYpAKu61TojhVXj4F0qQrXK0YZMtU3Z0S5b8MADg gvuEUBQzH3DgvH5nHNYkGJVwCJ6hCAbe8IowhTfmTPk7qqJ/z9UHZt98ca0X71bL j2+9xPedwtc6XrNvdqQHvaHKZrTSw+9VzKiHotIWtO0ux1LsqOr58A== =ujkA -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help with making a port using Java
On Mon, 23 Oct 2006 18:05:19 -0300 Alejandro Pulver <[EMAIL PROTECTED]> wrote: > Hello. > > I have read the PH entry about Java but it doesn't describe how to > solve some problems I am having, related to ANT (not finding packages). > > I have attached two partial ports, which fail to build. > > Could someone please point me in the right direction? > > Thanks and Best Regards, > Ale It seems the attachments got lost, I have uploaded them here (antsp2p and tuxguitar): ftp://ftp.alepulver.com.ar/ports/ Best Regards, Ale signature.asc Description: PGP signature