Pouria
Guys.
How can i learn Makfile syntax?
I use FreeBSD.
ɴꙩᴍᴀᴅ
Reading makefiles from ports is how I started learning it. Nowadays I usually go to the man page of make, and also have a copy of Managing Projects with make, 2nd Edition from O'Reilly around the desk.
Pouria
Pouria
ɴꙩᴍᴀᴅ
ɴꙩᴍᴀᴅ
book's ISBN 13 is 9780937175903
Pouria
Authors of the above book are:
Yes?
Pouria
I guess yes.
Thanks.
ɴꙩᴍᴀᴅ
Pouria
ɴꙩᴍᴀᴅ
Hello and welcome @dta90
Anonymous
Thanks
Anonymous
I installed FreeBSD in my Laptop, but no wifi interfaces are available how can i fix it
Hardcode
tbh you should've check if yours are supported under FreeBSD prior to installing it
ɴꙩᴍᴀᴅ
Anonymous
Realtek RTL8723BE
Anonymous
I can connect internet with usb tethering btw
ɴꙩᴍᴀᴅ
Tricky chip hehe
G
Anonymous
Overall, which BSD is more close to gentoo?
Anonymous
If you didn't know, gentoo is heavily source based
Pouria
Pouria
I am not sure.
kub-kun
Anonymous
@n0madcoder which of the bsd's has something similar to gentoo's USE flags?
Anonymous
USE flags are basically global dependency variables
Anonymous
From gentoos wiki: USE flags are keywords that embody support and dependency-information for a certain concept.
Krond
There's a little misunderstanding here. Gentoo was built around portage, that was inspired by FreeBSD ports.
ɴꙩᴍᴀᴅ
Krond
Generally in any BSD you would be able to compile whole system and all packages, and configure them the way you want, adding or dropping deps.
ɴꙩᴍᴀᴅ
Slackware is similar to BSDs too
ɴꙩᴍᴀᴅ
I never tried Gentoo, since I left the Linux world to jump straight into BSD land, but if I have to go back to Linux I guess I'll try it
ɴꙩᴍᴀᴅ
ɴꙩᴍᴀᴅ
A bit off topic but here you have new Githubs Copilot AI copy-pasting Quake's code (:
ɴꙩᴍᴀᴅ
Anonymous
Anonymous
In the USE variable users define keywords which are mapped onto compile-options. For instance, ssl will compile SSL support in the programs that support it. -X will remove X-server support (note the minus sign in front). gnome gtk -kde -qt4 -qt5 will compile programs with GNOME (and GTK+) support, and not with KDE (and Qt) support, making the system fully tweaked for GNOME (if the architecture supports it).
Anonymous
Anonymous
These USE variables are applied to all packages
Krond
Copyght infringement in 3.. 2..
Anonymous
Instead of manually configuring each package individually
Krond
There's a:
- batch mode
- ability to copy/paste/edit current configuration
Krond
- make flags that can force options
ɴꙩᴍᴀᴅ
ɴꙩᴍᴀᴅ
ɴꙩᴍᴀᴅ
@solaris557 looks like line 14
Krond
Seems to hehe
This actually spawns a question whether generated or "suggested" code should apply some licenses to the stuff you wright, and whether you can select what are acceptable licenses for your project so you wouldn't make it a garbage bin.
Krond
No, not USES: https://forums.freebsd.org/threads/how-to-manage-options-easily-and-globally.54508/
Krond
Keep in mind that like 95% to 97% of port options are actually unique and only apply to a port or two. Plus some port might fail to build with some OPTIONS combo.
Krond
For me it's a rule of thumb to leave everything like it was by default unless I'm completely sure want I want to change.
ɴꙩᴍᴀᴅ
Krond
ɴꙩᴍᴀᴅ
It's going to be a thin line between legal suggested content and what not I guess
Krond
Legal thin line before FSF sues GitHub for giving companies legal reasons to copy their code.
ɴꙩᴍᴀᴅ
Krond
Well, I had a feeling that was an enduser question about how to globally configure some stuff while building ports for personal use.
Krond
I don't think that applies to devs or porters.
Anonymous
What's the deal with this I'm confused
Krond
That's GitHub AI that suggests code while you are writing it. In this example it "suggested" whole function including legal notice. But you probably could skip license and go on with the code...
ɴꙩᴍᴀᴅ
Krond
Yes, this is BSD make configuration files that is added to each port build. You can change compiler, play with options etc.
Anonymous
@triggereddotnet you use netbsd as desktop?
kub-kun
kub-kun
its usable
kub-kun
𝚂𝚑𝚊𝚢𝚊𝚗
𝚂𝚑𝚊𝚢𝚊𝚗
𝚂𝚑𝚊𝚢𝚊𝚗
Guys, do you have any Idea for launch TLauncher in FreeBSD? I have this errors.
Already installed openjdk 16 and 8
𝚂𝚑𝚊𝚢𝚊𝚗
Oh okay then. I'm waiting for your helps
𝚂𝚑𝚊𝚢𝚊𝚗
are you sure that you can run it ?
𝚂𝚑𝚊𝚢𝚊𝚗
wtf