Commit Graph

2241 Commits

Author SHA1 Message Date
steven
685bd523ac cleanup unused variable 2009-10-18 08:32:19 +00:00
steven
16d0c32f3c separate lists of static and shared libraries
this makes xenocara build.
2009-10-17 14:40:22 +00:00
steven
84737a0d1c clean up a bit, and save some time 2009-10-15 15:20:34 +00:00
pirofti
a081f17a6d Add more ports to the plist file for landisk snapshots.
Okay sthen@.
2009-10-15 14:34:01 +00:00
steven
de328a6e74 better regex 2009-10-15 13:48:11 +00:00
steven
3628fb6ff2 try to cope with people passing /path/libfoo.so.X.Y instead of -lfoo
if a static library has been found, don't search for it again.
2009-10-15 13:46:23 +00:00
steven
3197dd1add no need for fiddling with deplibs again here 2009-10-15 11:26:08 +00:00
steven
90acfab4e5 revert some of the previous; we need this to deal with convenience libs 2009-10-15 11:16:10 +00:00
phessler
3c719e581d allow us to run make update-patches when WRKDIST has spaces in it.
OK espie@
2009-10-15 10:48:05 +00:00
steven
d514f1eb1d remove unneeded extract_archive function 2009-10-15 09:39:45 +00:00
steven
7b6089698d cleanup; this seems to work better 2009-10-14 22:03:16 +00:00
steven
1adbca4d86 shut up if not in debug mode 2009-10-14 18:22:03 +00:00
steven
24132ef048 use find method here as well, as the object data might not have been filled 2009-10-14 16:03:02 +00:00
steven
869d85c921 make guess_implicit_mode work again 2009-10-14 14:28:22 +00:00
steven
dd74eb33f1 register directory where static lib can be found
add missing newline
2009-10-14 14:14:21 +00:00
steven
cb183eb8c6 run find unconditionally 2009-10-14 14:05:33 +00:00
steven
fa7822ef2f sigh, install programs do not always take options 2009-10-14 13:42:41 +00:00
steven
191ff969ee allow USE_LIBTOOL to be set to 'gnu'; 'gnu' and 'yes' do the same for now.
ok espie
2009-10-14 13:01:03 +00:00
steven
faaa9351fc if (defined $a) instead of (if $a) for the -release option, as it may be 0 2009-10-14 12:28:44 +00:00
steven
38fc564f05 move some library finding code out of the parser
store the .la file path in the library object for later use
fix a bug where we lost some of the command line arguments
this makes more stuff build again and improves static linking
2009-10-14 11:31:50 +00:00
steven
e6877d2f2a read architecture from the perl configuration 2009-10-14 09:06:17 +00:00
steven
d319580241 some small fixes after previous changes 2009-10-13 23:26:41 +00:00
steven
1499055d06 move find_la subroutine into LaFile package 2009-10-13 21:19:15 +00:00
steven
cfe5f8d02a make substitution code a bit shorter 2009-10-13 20:56:45 +00:00
steven
ec6069f4f3 - write SHARED_LIBS_LOG file
- fix stringize to return 0 instead of empty string if the value is 0
2009-10-13 18:22:57 +00:00
steven
fddecfb227 start at putting library info into an object 2009-10-13 17:11:21 +00:00
landry
fb2acb23e7 Change WRKOBJDIR (again...) to default to ${PORTSDIR}/pobj instead of obj,
it confuses make mirror-maker (among others..)
req'd by espie@, agreed by several@ in budapest.
2009-10-13 14:39:23 +00:00
steven
553d8c3311 this should work better 2009-10-13 14:23:12 +00:00
steven
1029d10105 restrict scope of a few variables; initialize them in link mode only 2009-10-13 13:55:12 +00:00
steven
5f959feb9a move all the parsing subroutines from main into a parser class
much more moving around is needed
2009-10-13 13:30:31 +00:00
sthen
62a16058a5 +astmanproxy 2009-10-13 11:12:52 +00:00
steven
028808fd21 remove another argument here 2009-10-12 19:02:14 +00:00
steven
4c6fbb3538 remove argument when not necessary 2009-10-12 18:31:37 +00:00
steven
fdbf9000c1 move a few lines and add missing argument 2009-10-12 18:14:55 +00:00
sthen
030b4088f5 add a few ports, drop some which don't exist any more 2009-10-12 12:40:17 +00:00
steven
f2f622fbaf more generic way to deal with multiple-argument commands
(compiler, linker, install program, etc)
2009-10-12 09:58:22 +00:00
steven
866707f683 avoid undef as reference 2009-10-11 20:50:33 +00:00
steven
16fa453f51 sigh, don't use glob here 2009-10-11 18:58:59 +00:00
steven
5e4c5f1c28 oops 2009-10-11 18:40:03 +00:00
steven
699cd8382e move some info related to executable into the object 2009-10-11 14:21:56 +00:00
ajacoutot
bee3737fdc add _polkituser (for policyKit, not it does not work yet) 2009-10-10 15:08:12 +00:00
steven
ee45027ef6 allow to link executables statically as well 2009-10-10 09:50:11 +00:00
steven
965b3c75bd when linking a program, take into account -static flag (not yet supported) 2009-10-09 22:24:56 +00:00
steven
fc74e89c10 be a bit smarter about executable wrapper creation by remembering linking
with a .la file which refers to a shared library
this should prevent wrapper files getting installed;
fixes dbus and wml ports, hope it does not break others :)
2009-10-09 21:23:42 +00:00
matthieu
da8ac4907e Update for new BSD.x11.dist which is rooted at '/'. ok espie@ 2009-10-01 19:38:40 +00:00
sthen
617af14735 tmux moved from ports to base, remove it from the arm plist. 2009-09-30 07:52:12 +00:00
sthen
c7d3d285a4 Replace lzma with xz. ok naddy@ 2009-09-11 07:53:45 +00:00
jolan
90f4fa4634 reserve uid/gid for prosody 2009-09-06 18:37:15 +00:00
steven
f31c359143 zap trailing whitespace 2009-08-30 08:40:52 +00:00
kili
55a89f933c Remove broken mirror. 2009-08-26 11:53:20 +00:00
sthen
9ddbfccba5 fix ucr.ac.cr CPAN url 2009-08-25 17:13:55 +00:00
sthen
fcc8908676 Change MASTER_SITES_SOURCEFORGE so fetching distfiles uses their
geolocation. problem with my diff found + fixed by martynas@.
ok ajacoutot@ jasper@
2009-08-24 13:41:57 +00:00
sthen
086a0298a0 Adjust the regex which matches file(1) output so that set[ug]id files
can be detected as being binaries for update-plist. ok espie@
2009-08-14 22:41:13 +00:00
simon
456bb1cca4 Finally add CONFIGURE_STYLE=modinst. This adds p5-Module-Install to
BUILD_DEPENDS, and --skipdeps to CONFIGURE_ARGS.  Additionally it nukes
existing ${WRKSRC}/inc/Module/*Install* files in pre-configure to force
regeneration of bundled and often outdated Module::Install versions.

feedback/testing by msf@, jim@ and landry@
2009-08-12 22:36:48 +00:00
jasper
3bd2392a6b - add _memcached/_memcached 2009-08-07 10:45:35 +00:00
martynas
1ffe7c1642 reserve user ids for _mt-daapd, _solid-pop3d & _ettercap. 2009-08-06 23:38:48 +00:00
espie
5552fa34d2 maintainer usability: some targets are usually not invoked recursively,
but they can (sometimes) be useful: add DANGEROUS knob to prevent running
them accidentally, but allow people to run makesum/update-plist/update-patches
recursively.
2009-07-26 12:14:05 +00:00
naddy
eb54af552b 4.6 CD package lists 2009-07-22 20:10:19 +00:00
espie
ef63e25ff6 small mirror-maker tweaks:
- there's no need for :: on pure dependencies, : works just fine for
accumulating (and :: is not 100% standard on all systems)
- append directly to _FETCH_MAKEFILE_NAMES. This avoids an untidy blank space
2009-07-15 23:44:36 +00:00
espie
3ea520053a when using peek-ftp, I often start with make show=DISTFILES, so save myself
the trouble.
2009-07-13 12:21:44 +00:00
jasper
3d9fe266f1 - add a hosts file for mips64, as there are two sgi's now 2009-06-30 17:27:52 +00:00
sthen
667449de37 add group for nbaudit 2009-06-19 10:15:11 +00:00
sthen
9cd02211f8 security/nbaudit uses "nobody"; reserve a uid to fix this 2009-06-19 10:12:36 +00:00
simon
e47a3e8294 let Module::Build tests behave like ExtUtils::MakeMaker ones
ok landry@, sthen@
2009-06-18 13:41:28 +00:00
landry
27251dbdc9 systrace isn't too happy when WRKOBJDIR contains a symlink, which can
happen often (/usr/ports NFS mounted & /usr/ports/obj a symlink to a
local dir, /usr/ports as a symlink to /home/wherever..)
Use readlink -fn only if USE_SYSTRACE is set so less things are run when
bsd.port.mk is included. Should make everyone happy.

Issue reported by and original fix ajacoutot@, sounds reasonable to espie@
2009-06-17 13:42:49 +00:00
jolan
cc03ea5492 reserve a space for upcoming openfire port 2009-06-15 23:45:50 +00:00
kili
a7b1d60056 +_dnsmasq 2009-06-14 17:04:16 +00:00
sthen
df3fbaad7d set RECURSIVE_FETCH_LIST to No by default. ok sturm, ajacoutot, espie. 2009-06-12 17:26:51 +00:00
landry
861925b221 Provide saner defaults for WRKOBJDIR, using ${PORTSDIR}/obj. No more w-*
dirs forgotten all around. One can still unset it in /etc/mk.conf to get
back to the older behaviour, or still override it with /usr/obj/ports or
/usr/wobj or whatever. At least, now it can be a separate partition.
Most of us were already overriding this value, OpenBSD is all about sane
& simple default settings.
${PORTSDIR}/obj suggestion from jakemsr@.
Discussed at length with several, 'Works for me' krw@ ok todd@ wcmaier@.
2009-06-12 13:39:30 +00:00
espie
3cb8b96f11 don't export brutally everything from bsd.own.mk into each port's Makefile,
but select some variables instead.

checked by naddy@ on a bulk-build.

(apart from making stuff less easy to break, it also means Makefiles stop
inheriting a WIDE set of .PHONY targets, which is a good thing)
2009-06-09 17:46:58 +00:00
sthen
dfcac48e8c simplify, remove dead variable, handle ports without distfiles,
support FETCH_CMD (defaulting to ftp, as before). from Mikolaj Kucharski,
been in my tree for ages and works ok - ftp.ca maintainer timeout ;)
2009-06-04 15:15:48 +00:00
sthen
68fc639cee make a suggestion about using .include to pull this file into
../db/network.conf and just add your own overrides; saves trouble
when a new mirror is added.

ok jim@ benoit@ pea@
2009-06-04 14:43:40 +00:00
ajacoutot
37b2e54575 Add required users for net/avahi. 2009-06-03 16:46:48 +00:00
sthen
670e919314 reserve 628 for kamailio. 2009-05-26 16:19:06 +00:00
ajacoutot
70fdb8ee0c Add _zarafa user. 2009-05-19 15:20:08 +00:00
simon
f9808159d2 allow ports to set REGRESS_IS_INTERACTIVE=X11 in order to get rid of
redundant makefile parts found at many places in the tree

DISPLAY and XAUTHORITY variables/checks to be nuked soon from many ports

ok ajacoutot@, sthen@, jasper@
2009-05-16 22:18:50 +00:00
sturm
3e2c7f0404 add some code to help find circular dependencies 2009-05-09 07:36:17 +00:00
sthen
035db71d1e pound should be uid 626, even... 625 was reserved for varnish. 2009-05-07 12:37:10 +00:00
sthen
020024a323 unbreak conflicting userid and bump PKGNAME, no cookie for me, I forgot
to commit the user.list update in my tree :(

found by Rolf Sommerhalder.
2009-05-07 12:16:34 +00:00
pvalchev
7ae647f8ae 4.5 2009-05-07 00:10:44 +00:00
fgsch
fb402541c1 add _varnish. 2009-05-06 21:34:28 +00:00
martynas
fb518f37e5 make "doesn't seem to exist on this system" and "Size matches for"
implicit;  since they filled the whole screen making important stuff
unnoticable.  ok espie@, sthen@
2009-05-05 20:58:38 +00:00
jolan
ae7cacbcab +_noip 2009-04-30 23:25:31 +00:00
espie
60e8adb5b1 flattening signatures mean they won't be compared, but they still end up
in the recorded plist, consuming space for nothing. So also remove them
from the plist.

while there, $o->method() becomes $o->method
2009-04-26 08:45:09 +00:00
espie
3286c9fba0 remove trailing dot 2009-04-24 08:53:33 +00:00
jasper
426d642c27 - add _zabbix/_zabbix 2009-04-22 21:25:15 +00:00
espie
7112ac8117 add support for MATCHDIR: will only recurse into dirs that match the
pattern...
2009-04-11 14:56:31 +00:00
espie
b466c39b7a minor tweaks:
- totally forbid overriding do-fetch
- slightly better diagnostics in a few cases
2009-04-11 14:55:31 +00:00
naddy
6c08a3cb68 Quote filenames when handing them off to a shell.
This fixes errors like "sh: syntax error: `(' unexpected" in make-plist.
ok espie@, jasper@
2009-04-09 14:48:45 +00:00
jcs
87c2eb048a add MASTER_SITE_GITHUB for gems
ok bernd@
2009-04-02 15:04:19 +00:00
sthen
c2f2c6fa1e reserve 622 for ngrep 2009-03-30 21:17:30 +00:00
fgsch
82bee3bd7e add pypi master site. discussed and ok with martynas. 2009-03-21 22:25:48 +00:00
martynas
4c51498968 follow the naming scheme. it should be MASTER_SITE_MYSQL
"correct." fgs@
2009-03-19 22:51:01 +00:00
ajacoutot
21e51b9ca9 - add old behaviour back where MODGNU_AUTOMAKE_DEPENDS is always set even
when not using CONFIGURE_STYLE=automake
this fixes ports depending on a specific version of automake while e.g
using the gnu CONFIGURE_STYLE

ok espie@
2009-03-14 10:46:56 +00:00
espie
5bcba4cec0 fix automake dependencies to read like automake->=1.4,<1.5 instead
of automake-1.4.*
2009-03-09 23:07:33 +00:00
fgsch
2f5705e5ad reserve user for couchdb 2009-03-09 02:18:22 +00:00
pvalchev
c2f64a386c 4.5 2009-03-06 23:19:38 +00:00
todd
4a4f50f2fe _adsuck user 2009-03-06 20:22:39 +00:00
steven
5793039c06 accept multiple forms of --version-info, adding default values where none
are specified (gnu behavior). this fixes math/kst
2009-02-16 22:04:28 +00:00
steven
238f39a692 deal with multiple linker options passed via one -Wl flag
fixes gnome/dasher
2009-02-16 21:22:56 +00:00