summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2003-02-06on systems where _PKG_JVM is not set, set PKG_FAIL_REASON and setdmcmahill1-2/+3
_PKG_JVM to "none" to avoid makefile errors.
2003-01-29Use a table-based lookup scheme to pair up JREs to JDKs.jlam1-10/+15
2003-01-29Create directories at pre-install time instead of post-install so thatjlam1-14/+38
we can more accurately determine if we "own" a directory. Ownership is determined by seeing if the directory doesn't exist before the package is installed.
2003-01-29sun-jdk14 has moved to .../java/sun-1.4.jlam1-2/+2
2003-01-29Move the inclusion of bsd.pkg.install.mk higher so that binary packagesjlam1-5/+5
are generated correctly (with INSTALL and DEINSTALL scripts). Fix suggested by Stoned Elipot <seb@netbsd.org>.
2003-01-29Set _JAVA_BASE_CLASSES to classes.zip or wre.jar in java-vm.mk, then use inabs2-4/+7
bsd.pkg.mk. We are now more wonka friendly.
2003-01-28Ensure that PKG_SYSCONFBASE is always defined (defaulting to ${PREFIX}/etc).jlam1-2/+2
2003-01-28Instead of including bsd.pkg.install.mk directly in a package Makefile,jlam1-1/+5
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
2003-01-28Search for the system provided install-info in /usr/bin and if neededseb1-6/+12
in /sbin. If devel/gtexinfo if not used assume makeinfo is /usr/bin/makeinfo. Confirmed to work on RedHat 7.3 by abs, thanks!
2003-01-28white space fix: replace spaces by tabsseb1-12/+12
2003-01-25Add some LOWER_VENDOR definitions on Linux to better customize packagesjschauma1-6/+14
in the future (on Debian, for example, there is no libtermcap, and we need to depend on ncurses etc.)
2003-01-25Create a fake libpthread.la that corresponds to /usr/lib/libpthread.*.jlam1-1/+12
This should allow building packages that use libtool and use native pthreads even if pth is installed.
2003-01-25Modify code to produce fake libtool archives to check whether the librariesjlam1-5/+7
named using the shell pattern actually exist.
2003-01-25Skip if no valid Emacs version found. For bulk builds.uebayasi1-3/+3
2003-01-24Strip bare "-L${BUILDLINK_DIR}" (note there is no trailing "/lib") fromjlam1-1/+3
dependency_libs definitions in *.lai files. This should remove another instance that can cause "buildlink2 leakage" into installed files under ${LOCALBASE}.
2003-01-24Use an /etc/mk.conf setting for libdvdcss's HOMEPAGE and MASTER_SITES,agc1-1/+13
following a suggestion by salo. This allows users to specify LIBDVDCSS_MASTER_SITES= ... LIBDVDCSS_HOMEPAGE= ... in their /etc/mk.conf files.
2003-01-21require at least libtool 1.4.20010614nb12 on Darwin.grant2-2/+7
2003-01-21Pax NetBSDi.jschauma1-2/+2
2003-01-21add MYSQL_USER, MYSQL_GROUP, MYSQL_DATADIR.grant1-1/+17
2003-01-20List which packages depend on the different variables, and some consistencykristerw1-31/+35
changes to the descriptions. XXX I have only done the [A-C]* variables for now. The rest will be done RSN.
2003-01-20BOOTSTRAP_EGCS is not used any longer. Remove it.kristerw1-7/+1
2003-01-20Add stamp-vti to AUTOMAKE_PATTERNS; fixes bison problem, tested by salo.wiz1-1/+2
2003-01-20fix a bug introduced by the last commit where a string was accidentallydmcmahill1-3/+2
split across a line. Thanks to Greg Woods for catching this.
2003-01-18Many white space and indenting fixes to bring this more in line withdmcmahill1-469/+553
/usr/share/misc/style. Prompted by a private email from Greg Woods, woods at weird dot com.
2003-01-17-. if (${AUTOMAKE_OVERRIDE} == "YES")wiz1-2/+2
+. if empty(AUTOMAKE_OVERRIDE:M[nN][oO]) to match bsd.buildlink2.mk (which defines AUTOMAKE_OVERRIDE to yes).
2003-01-15Make BUILD_DIR always point to a physical path by invoking /bin/pwd insteadjlam10-19/+26
of relying on the shell's builtin pwd. This makes BUILD_DIR consistently point to the correct directory regardless of the definition of SHELL. This fixes elusive some buildlink2 errors due to the fact that BUILDLINK_DIR is derived from BUILD_DIR and some paths were incorrectly being translated.
2003-01-15Revert previous change. Defining BSD_PREFS_MK instead of BSD_PKG_MKjlam1-4/+4
breaks too many users' /etc/mk.conf files that have a .ifdef BSD_PKG_MK # /usr/pkgsrc stuff .else # /usr/src stuff .endif structure. We'll think of another way to protect against multiple inclusion of bsd.pkg.mk and bsd.prefs.mk.
2003-01-15Add RCS Id.jlam1-0/+2
2003-01-15avoid the use of the gensub() function as it is a gawk extension notdmcmahill1-6/+7
found in other awk implementations. Patch provided by Greg Woods, woods at weird dot com, via private email.
2003-01-14Define and check for BSD_PREFS_MK, not BSD_PKG_MK. Proposed by Jan Schaumann.wiz1-4/+4
2003-01-14Bump build dependency on x11-links to 0.12 after teaching x11-links aboutjlam1-2/+2
Xrender.
2003-01-14On Linux, LOWER_ARCH is generally not yet defined. Move assignment.jschauma1-5/+4
2003-01-13bump BUILD_DEPENDS on x11-links (Darwin fixes).grant1-2/+2
2003-01-12According to seb, make on 1.5 does not know about ${VAR:tl}, so let's go back tojschauma1-3/+3
echo VAR | tr A-Z a-z
2003-01-12efficiency++;jschauma1-6/+6
Make can take care of substitutions itself, so we don't need to use echo VAR | sed or echo VAR | tr Suggested by seb.
2003-01-12On Linux, s/i.86/i386/ for LOWER_ARCH and MACHINE_ARCH as suggested byjschauma1-1/+3
Jeremy C. Reed on tech-pkg. Even though bootstrap's bmake will do this at build-time, this ensures that even older bmake's don't fail if a package checks it for == i386.
2003-01-10Alphabetize _BLNK_CACHE_ALL list.jlam1-2/+2
2003-01-10Added http://osdn.dl.sourceforge.net/sourceforge/ as Sourceforge mirror.jmmv1-1/+2
Okay'ed by wiz.
2003-01-10Don't add rpath statements to _BLNK_LDFLAGS if _USE_RPATH != "yes".thorpej1-4/+9
2003-01-10Protect some substitutions with slashes -- i.e. so that /usr/pkgsrc/.../workmycroft1-3/+4
doesn't get the /usr/pkg part expanded accidentally.
2003-01-10Add the PKG_PRESERVE capability to bsd.pkg.mk.agc1-1/+14
A package which has PKG_PRESERVE definied in its Makefile will not be able to be deleted, and the capability is carried into binary packages.
2003-01-10Protect ${WRKDIR} from transformation. We only want to transform pathsjlam1-1/+6
from outside of the work directory.
2003-01-10Fix indentation for case statement.jlam1-2/+2
2003-01-10Install a ${PREFIX}/bin/shlibtool as part of the devel/libtool-basejlam9-25/+44
package. shlibtool will not build static libraries. Add handling in bsd.pkg.mk for a variable named "SHLIBTOOL_OVERRIDE" that is analogous to LIBTOOL_OVERRIDE and causes any listed libtool scripts to be replaced with a symlink to shlibtool, and teach buildlink2 about shlibtool. Bump PKGREVISION of devel/libtool* packages to 11.
2003-01-10Add locale/bs/LC_MESSAGES.mycroft12-12/+60
2003-01-09Introduce NO_PKGTOOLS_REQD_CHECK, with which a package can disableschmonz1-54/+28
warnings about out-of-date pkg_install. It's defined in pkgtools/digest, pkgtools/pkg_install, and databases/db (needed by pkg_install). Replace sequences of ${ECHO_MSG} and ${FALSE} with PKG_FAIL_REASON. Replace "make" with ${MAKE} in a few places.
2003-01-08Teach buildlink2 about ${_OPSYS_RPATH_NAME} instead of just using -Wl,-Rjlam1-11/+4
everywhere.
2003-01-07Also substitute for @BUILDLINK_X11_DIR@ in the wrapper scripts. This wasjlam1-1/+3
a harmless bug, and the scripts will now run a little faster.
2003-01-07Output warnings to stderr, not to stdout (duh!)jlam1-3/+3
2003-01-07Don't complain about (correct) .buildlink leakage in the fake libtooljlam1-3/+4
archive case. Also output errors to stderr, not stdout (duh!).