summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-11-23If PKGSRC_RUN_TEST is yes, make all run test. This results in testdillo1-1/+5
being run during the first part of a make; make install sequence. (As suggested by Greg A. Woods on tech-pkg.)
2002-11-23Darwin doesn't yet have a working equivalent to sysutils/userschmonz1-1/+3
because I'm a slacker. Take a months-old hint from Johnny in PR 16628 and set PKG_CREATE_USERGROUP to NO in the meantime.
2002-11-23Make gcc default compiler for packages using imake on Solaris.salo1-1/+2
Addresses PR pkg/18077 and PR pkg/18430 and possibly others.
2002-11-21Don't blindly assume that directores listed in OWN_DIRS* and MAKE_DIRS*jlam2-7/+17
that are outside of ${LOCALBASE} belong to the package that lists them. If the directory already exists before the package is installed, then we don't presume ownership of the directory. This addresses pkg/18383 by Grant Beattie.
2002-11-21Default to USE_BUILDLINK?=no, and change checks for !defined(USE_BUILDLINK2)jlam1-8/+5
into whether USE_BUILDLINK is "no".
2002-11-21Instead of inventing our own "missing" script, just use the GNU one.jlam1-9/+8
2002-11-21"Import" the "missing" script from GNU automake 1.7.jlam1-0/+339
2002-11-20Reimplement hide-autotools target by making better use of make targets.jlam1-9/+15
Also document what that section of the Makefile does.
2002-11-20Provide a more complete list of GNU auto* tools to hide (thanks wiz!).jlam1-2/+8
2002-11-20Fixes from Robert Elz to:agc1-9/+17
+ umount filesystems in the reverse order from that which they were mounted + null-mount /lib and /libexec in a way more consistent with the original
2002-11-20If using buildlink2, use a (hopefully) less error-prone way of preventingjlam1-1/+29
the GNU auto* tools from being executed during the build process. We now just create shell scripts that simply return an error status for each of the GNU auto* tools in ${BUILDLINK_DIR}/bin and ignore the other goop in bsd.pkg.mk that tried to accomplish the same thing.
2002-11-17LOWER_VENDOR is 'pc' on FreeBSD only if running on i386.grant1-1/+5
2002-11-17Grrr Solaris' sh.seb1-2/+2
Use 'if cmd1; then :; cmd2; fi' instead of 'if ! cmd1; then cmd2; fi'
2002-11-17pull out SERIAL_DEVICES for now.grant1-23/+1
2002-11-17Add initial pkgsrc FreeBSD support :-)grant3-1/+618
Tested on FreeBSD 4.7-RELEASE/i386.
2002-11-17bump LIBTOOL_REQD for FreeBSD.grant1-1/+6
2002-11-17Introduce new framework which unifies registering packages providing loginsalo5-5/+37
shells to /etc/shells. This feature can be disabled by setting PKG_REGISTER_SHELLS to NO in /etc/mk.conf. An excerpt from Packages.txt, section 10.28: 10.28 Packages providing login shells ===================================== If the purpose of the package is to provide a login shell, the variable PKG_SHELL should contain the full pathname of the shell executable installed by this package. The package Makefile also must include "../../mk/bsd.pkg.install.mk" prior to the inclusion of bsd.pkg.mk to use the automatically generated INSTALL/DEINSTALL scripts. An example taken from shells/zsh: PKG_SHELL= ${PREFIX}/bin/zsh .include "../../mk/bsd.pkg.install.mk" The shell is registered into /etc/shells file automatically in the post-install target by the INSTALL script generated by bsd.pkg.install.mk and removed in the deinstall target by the DEINSTALL script.
2002-11-16Defaults for w3m.uebayasi1-1/+47
2002-11-16- When listing the current version of the package, don't create a hyperlinkdmcmahill1-3/+4
back to the current page, just list it as regular text. - Put each dependency hyperlink on a separate line in the README.html file. These were both noted by Thomas Klausner in a private email.
2002-11-15Add be locale (glib2).wiz4-4/+20
2002-11-14Reset IFS sooner so that recursive calls to the gen() function workjlam1-1/+1
correctly with Solaris' ksh (not sure why this didn't break on NetBSD's /bin/sh). Analysis and fix by Jonathan Perkin <sketch@rd.bbc.co.uk>.
2002-11-14Allow BUILDLINK_SETENV.<wrappee> to override _BLNK_WRAP_SETENV.<wrappee>.jlam1-1/+8
This is to override the default CC=cc, CXX=c++, LD=ld, etc. settings in CONFIGURE_ENV and MAKE_ENV, e.g.: BUILDLINK_SETENV.CC= CC=gcc
2002-11-14Allow for common case where --mode=install is not specified when usingjlam1-47/+59
libtool to install libraries or programs.
2002-11-14- when creating a new database, make sure that the old one is gone first todmcmahill1-1/+12
avoid simply appending to it. - add some additional error checks when using the -r/--restart options to make sure that the database exists and give a useful error message if it doesn't
2002-11-14Remove HAVE_OPENWINDOWS. Packages that wonder whether X11 is OpenWindowsjlam1-6/+1
can just test whether X11BASE is /usr/openwin (see x11.buildlink2.mk).
2002-11-14Comment out the X11BASE setting, which is set in bsd.prefs.mk conditionallyjlam1-3/+3
based on the value of OPSYS. This was breaking pkgsrc on Solaris.
2002-11-14add a 'SINGLEPKG' variable which can be set on the command line to thedmcmahill1-2/+12
directory of a single package (e.g. graphics/gimp) for which a README.html is to be generated. This provides the required hook to be able to use this script to generate a README.html file for a single package as well as for all packages.
2002-11-14Drop some trailing whitespace.wiz1-2/+2
2002-11-14Use ${PKG_INFO} instead of ${PKG_TOOLS_BIN}/pkg_info; replace leading spaceswiz1-6/+6
with tabs.
2002-11-13Document "static" and "no-rpath" transformations.jlam1-0/+2
2002-11-13move the pruning of readme's to the very end of the job.dmcmahill1-19/+24
2002-11-13- add some more error checking. In particular, if any of the template filesdmcmahill1-6/+22
don't exist, exit with a fatal error and don't try and make empty README.html files. - fix a bug which caused some duplication in category README.html files. Problem noted on netbsd-help@ by Nicolas Saurbier ( Nicolas dot Saurbier at biodata dot de)
2002-11-13add a -S,--save-database option which doesn't delete the database filesdmcmahill1-4/+15
after the run. Useful for debugging since this preserves the intermediate result of the most time consuming portion of the script.
2002-11-13only update the README-IPv6.html file if it has changeddmcmahill1-2/+7
2002-11-13- replace & with &amp; _before_ replacing < with &lt; and > with &gt; whendmcmahill1-2/+10
escaping html output. - properly escape the URL in the link and the displayed URL in the vulnerability list to handle the '&' character in URL's.
2002-11-13start warning output on a new line to make it easier to readdmcmahill1-1/+2
2002-11-12- added progress meter when extracting database. Useful for those of usdmcmahill1-1/+9
with slow machines. - fix minor bug which left some temp files laying around in /tmp/mkreadme.
2002-11-12add definition for HTML_PKGNAME used by the readme generationdmcmahill1-1/+2
2002-11-12add timestamp to output messagesdmcmahill1-2/+3
2002-11-11add scripts for generating the README.html files in a much more efficientdmcmahill2-0/+1054
way than the previous recursive make approach. The 'mkreadme' script is the top level script. 'mkreadme -h' or 'mkreadme --help' for complete documentation on its use. Generates README.html files more than two orders of magnitude faster than the recursive make approach by only calling make(1) once per pkg.
2002-11-11add a print-summary-data target which will be used by the new bulkdmcmahill1-1/+16
README.html generation script. This target gives all information needed by the README.html file in 1 make call.
2002-11-10rename BINPKG_SITE to BINPKG_SITEShubertf2-5/+5
Adresses PR pkg/19004 by tv@pobox.com
2002-11-10add MASTER_SITE_MOZILLA for Australia.grant1-1/+2
2002-11-08Take care of -current's /lib and /libexec.seb1-2/+8
Noted by Julio Merino <jmmv at menta dot net> in PR pkg/18968, I had this in my trees for weeks and I forgot about it...
2002-11-07Add a test target to bsd.pkg.mk:dillo2-3/+41
It runs pre-test, do-test, and post-test. The default pre-test and post-test targets are empty; the default do-test target runs TEST_TARGET (in each TEST_DIRS (defaults to BUILD_DIRS)) if it is set and does nothing otherwise. Thus the test target defaults to doing nothing. The usual way to use this is to set TEST_TARGET to the target to run (e.g. TEST_TARGET=check for GNU packages). If PKGSRC_RUN_TEST is set to yes (in mk.conf, defaults to no), the test target is run before install. (approved by agc)
2002-11-03Actually pass CVS_FLAGS propperly to the su'd "cvs update"hubertf1-2/+2
2002-11-01When "make install" su's to root, su is invoked with the "-l" option, whichjlam1-1/+3
causes the shell environment to be discarded. This also discards OBJMACHINE or OBJHOSTNAME, which causes WRKDIR_BASENAME to be different between the "non-root" and "root" make targets and leads to the breakage seen in pkg/18879 by Simon Burge. Fix this by saving the OBJHOSTNAME or OBJMACHINE setting in MAKEFLAGS so that it is seen even after we "su -l" to root.
2002-11-01Whitespace and minor cosmetic fixes.jlam1-2/+2
2002-11-01Bump the pth dependency to pth>=1.4.1nb5, which ensures that we have thejlam2-4/+4
latest set of fixes and changes to pth to make it look more like a real pthreads package.
2002-10-31Copy the x11-links tree into ${BUILDLINK_X11PKG_DIR} (${BUILDLINK_DIR})jlam3-50/+37
if the package uses X11 and merge the BUILDLINK_X11PKG_DIR and BUILDLINK_X11_DIR variables into a single variable: BUILDLINK_X11_DIR. This creates a one-to-one mapping between X11BASE and BUILDLINK_X11_DIR, instead of X11BASE mapping to both BUILDLINK_X11_DIR and to BUILDLINK_X11PKG_DIR. Remove the now unused II and LL parts of the BUILDLINK_TRANSFORM language. Add a new "static" keyword to the mini-language and fix building statically-linked binaries when building with libtool.