summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-09-08Add a "list" target which invokes "pkg_info -L" for the current package.tron1-1/+5
2002-09-07Filter out -R and -Wl.-R arguments that point to /usr/local as well asjlam2-3/+5
just -I and -L (modulo if LOCALBASE == /usr/local).
2002-09-06* Use a for loop to consolidate identical logic for removing paths in thejlam1-16/+12
argument transform filter. * Remove special ZOULARISBASE hack and use the new _BLNK_*PROTECT_SED variables to accomplish the same thing.
2002-09-06Create _BLNK_PROTECT_SED and _BLNK_UNPROTECT_SED variables to protectjlam1-1/+18
${_PKGSRCDIR} and ${BUILDLINK_DIR} from any filtering, as they may be subdirectories of ${LOCALBASE}, /usr/pkg, or /usr/local. This should fix pkg/18142 and other puzzling problems reported on the tech-pkg mailing list where it was necessary to revert back to buildlink1 versions of packages in order to build when the pkgsrc tree or the work directories are kept under /usr/local.
2002-09-06Don't add the perl dependency if perl5/buildlink2.mk is included as thejlam1-1/+3
buildlink2.mk file has it's own logic for how to add the perl dependency.
2002-09-06Minor whitespace nit.jlam1-2/+2
2002-09-06Move the l:lib1:lib2 transformation to _BLNK_TRANSFORM_SED.3, which nowjlam1-2/+13
contains all of the transformations that we may want to use to fix up any *-config scripts that have incorrect paths or library names. Also add some _BLNK_UNTRANSFORM_SED.* variables that do the opposite of the corresponding _BLNK_TRANSFORM_SED.* variables, and that are used to clean up libtool archives.
2002-09-05add mk locale dirs (for gnome-mime-data)wiz4-4/+20
2002-09-04Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 toagc4-4/+12
generalise the linker flags used to export symbols by setting them on a per-OS basis. > many packages force -Wl,-export-dynamic which is not portable outside GNU ld > and cause problems e.g. on Solaris. some of these packages use if > conditionals either only for NetBSD or except SunOS, but the state is not > coherent and it may complicate later when support for new OS is added to > pkgsrc (e.g. ongoing work on HP-UX support). > > jlam proposed the following framework in discussion on tech-pkg: > > http://mail-index.netbsd.org/tech-pkg/2002/06/21/0009.html > > now, ${EXPORT_SYMBOLS_LDFLAGS} is used instead of directly defining > -Wl,-export-dynamic which is set in appropriate defs.*.mk to reasonable > values. packages should be converted to this framework by: > > 1) replacing LDFLAGS+= -Wl,-export-dynamic and LIBS+= -export-dynamic with: > > LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} > > 2) for use in patchfiles, add this variable to MAKE_ENV if needed: > > MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS} > > 3) replace occurances of -Wl,-export-dynamic and -export-dynamic in patch > files with: > > $(EXPORT_SYMBOLS_LDFLAGS)
2002-09-03Also protect -L${ZOULARISBASE}* from being transformed.jlam1-2/+2
2002-09-03Invert test in buildlink-${OPSYS}-wrappers that was causing the OPSYSjlam1-2/+2
wrappers to not be generated. I forgot to flip this back after testing on my NetBSD box.
2002-09-03Fix botch in previous commit which caused the sanitized PATH to not bejlam1-4/+4
inserted into the wrapper scripts.
2002-09-03Add a missing shell wildcard which was causing the expression to notjlam1-2/+2
catch arguments with symbols that are special to the shell. This should fix pkg/18156 by Matthias Scheler.
2002-09-03Don't munge references to directories in ${ZOULARISBASE} ifjlam1-1/+7
${ZOULARISBASE} != ${LOCALBASE}. This should fix problems compiling pkgtools/digest with zoularis where ${ZOULARISBASE} != ${LOCALBASE}.
2002-09-02Add OPSYS-specific section for overriding the generic wrapper scripts, andjlam1-18/+50
add one section for SunOS to possibly allow using the SUNWspro compilers when building X11 packages that use imake. Many thanks to Matthias Scheler for his help on this. Also use _BLNK_OPSYS instead of OPSYS in bsd.buildlink2.mk so that's it's easier to pretend I'm using a different OS when doing buildlink2 work.
2002-09-02openoffice requires the unlimit on configure (for jdk) as well as for build.abs1-2/+2
Add ${_ULIMIT_CMD} to do-configure:
2002-09-01Don't protect the creation of ${_BLNK_LIBTOOL_FIX_LA} with USE_LIBTOOL.jlam1-3/+1
This script is part of the buildlink2 infrastructure and is harmless if not used. This allows devel/zlib to build on Solaris. Problem noted by Stoned Elipot.
2002-09-01Fix sourceforge path on ftp.tuwien.ac.at.wiz1-2/+2
2002-09-01The "Xpm" library is distributed with Solaris 9. Handle this case liketron1-6/+11
XFree86 4.x and don't install the package.
2002-09-01Move default definitions of P4USER, P4GROUP, P4ROOT, and P4PORT here.schmonz1-1/+21
2002-08-31Add TRPlayer license, in support of soon-to-be-imported TRPlayer package.fredb1-1/+4
2002-08-31Add variables for openssh privilege separation to bsd.pkg.defaults.mk:grant1-1/+27
OPENSSH_USER OPENSSH_UID OPENSSH_GROUP OPENSSH_GID OPENSSH_CHROOT Use these to automatically create user/group if they do not already exist. Assists platforms which do not have an 'sshd' user by default, while adding flexibility for NetBSD systems. Checked by Stoned Elipot <seb@netbsd.org>.
2002-08-30Another sourceforge mirror site.wiz1-1/+2
2002-08-30Add 'UNLIMIT_RESOURCES+=datasize' if we are using sun-jdk14. On at leastabs1-1/+3
NetBSD/i386 1.6 datasize needs to be at least 192MB to build jakarta-tomcat. Also set it for sun-jdk as that can expand to {sun-jdk13,sun-jdk14}...
2002-08-29Rename _BLNK_X11PKG_DIR to BUILDLINK_X11PKG_DIR and make it publiclyjlam2-11/+13
usable.
2002-08-29Number questions and answers to make referring to specific Q&As easier.jlam1-32/+32
2002-08-29Remove superfluous 'be'. pkg/18104 by Julio Merino.wiz1-2/+2
2002-08-29It's APACHE_USER instead of APACHE_SUEXEC_USER now.wiz1-3/+3
2002-08-28Teach about x11/neXTaw.jlam1-1/+3
2002-08-28Allow more flexibility in the handling of UNLIMIT_RESOURCES.seb5-14/+22
Each word of UNLIMIT_RESOURCES is supposed to be a knob on ULIMIT_CMD_<word> variable which value if defined is added to _ULIMIT_CMD. The ULIMIT_CMD_* variables are set per $OPSYS in defs.*.mk and are overridable by the user. Solaris' default value of ULIMIT_CMD_memorysize adjusted as suggested in PR pkg/18087 by Jonathan Perkin <sketch@rd.bbc.co.uk>.
2002-08-28Don't try to multiply define the same target for generating buildlink2jlam1-1/+3
wrapper script. This can occur if you set something like LD=cc where the cc wrapper is already generated from CC=cc.
2002-08-27Fix USE_FORTRAN in the USE_BUILDLINK2 case.jlam1-2/+4
2002-08-27FC and F77 point to the same thing, so no need to create wrappers forjlam1-2/+7
both of them -- just create wrappers for one, then set the appropriate env vars to handle the other one.
2002-08-27In print-PLIST, use "${RMDIR} dir 2>/dev/null || ${TRUE}" instead of justjlam1-2/+2
using "true" at the end.
2002-08-26deprecate SQUID_SYSCONFDIR in favour of PKG_SYSCONFDIR.squidgrant2-7/+7
2002-08-26PKG_SYSCONFDIR is not supposed to be settable, so change its setting fromjlam1-3/+3
?= to =. Note in Packages.txt that the only variables that a user should customize in /etc/mk.conf are PKG_SYSCONFBASE and PKG_SYSCONFDIR.<pkg>.
2002-08-25Remove estimates on increased build times as they're probably not stilljlam1-11/+2
accurate.
2002-08-25Pull up change in buildlink2 branch:jlam1-5/+5
Rename NO_BUILDLINK2 to NO_BUILDLINK. This better matches what it's supposed to disable -- the "buildlink" targets.
2002-08-25It's USE_BUILDLINK2, not USE_BUILDLINK2_ONLY.jlam1-2/+2
2002-08-24add cy, en@IPA, fa, ia locale's used by gtk-2.0.6.dmcmahill4-4/+68
2002-08-23Add some more sourceforge mirror sites.wiz1-2/+5
2002-08-23Create the include and lib buildlink dirs so that Darwin's compiler won'tjlam1-1/+10
complain on stdout (!) when -I or -L args are passed to it and break scripts that check for output.
2002-08-22Use sed instead of a funky make RE variable to sanitize the PATH. It wasjlam1-3/+4
breaking when the directory names had RE characters like "+".
2002-08-22Merge pkgsrc/mk from the buildlink2 branch back into the main trunk.jlam29-28/+1469
2002-08-21set USE_INET6 if we are on an IPv6 capable Solaris host.grant1-1/+3
2002-08-20Add CVS_FLAGS that will be passed to 'cvs update' before builds.hubertf2-3/+7
Allows specifying a branch ("-rnetbsd-1-6") or the trunk ("-A") easily from the build.conf file.
2002-08-19Now by default the support of micro- and nano-second timestamp values providedseb1-1/+7
by stat(2) is disabled: it causes grief even for package building. This is adjustable by the GMAKE_NSEC_TIMESTAMPS variable. Bump PKGREVISION.
2002-08-15Actually Alistair was right: $packages and $distfiles also need to beseb1-1/+2
$mkdirprog'ed, it helps on a fresh/virgin/cleaned up bulk building system.
2002-08-15Document `IMAP_UW_NO_SSL'.fredb1-1/+9
2002-08-14make this work on Solaris by using ${EGREP} instead of ${GREP}.grant1-2/+2