summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-09-23Add mimedefang defaultsmarkd1-1/+15
2002-09-23* buildlink1 -> buildlink2jlam2-6/+9
* Replace ELK_USE_{X11,MOTIF} with ELK_GUI, which is either "none" or is some combination of "xaw" and/or "motif". * Reenable Motif -- it seems to build properly with OpenMotif-2.0.x. * Modernize this package a bit and clean up how linker flags are passed to the build process by using the new variables available.
2002-09-23Missing a /lib on the end of the library path.jlam1-2/+2
2002-09-23Provide a separate variable "X11_LDFLAGS" that just contains the linkerjlam1-3/+5
flags for finding the X11 libraries. The value of X11_LDFLAGS is appended to LDFLAGS if the packages uses X11.
2002-09-23Add the -Wl,-R flags to find the widget library. The ld wrapper scriptjlam1-5/+10
understands "-Wl,-R" to be just "-R", so it will work fine.
2002-09-23Allow for wrapper-specific transformations of arguments that occur afterjlam5-7/+46
the main transformations have been performed. The ld wrapper can now accept "-Wl,*" arguments and transform them appropriately by stripping of the -Wl and the commas. This will obiviate the need for logic in pkgsrc that strips away the "-Wl," depending on whether the platform was a.out or ELF, and whether the individual package chose to link using "cc" or "ld".
2002-09-22Allow other Makefiles to specify a PERL5_GENERATE_PLIST that overrides thejlam1-2/+4
one provided by bsd.pkg.mk when generating the PLIST from PERL5_PACKLIST.
2002-09-21Don't strip past non-whitespace characters.jlam1-3/+7
2002-09-21Handle removing the rpath flags in the wrappers if USE_BUILDLINK2 is set.jlam2-2/+13
2002-09-21Clarify comment for BUILDLINK_TRANSFORM.jlam1-2/+2
2002-09-21Fix typo: s/11/x11/. From pkg/18365 by Roland.Dittel@epost.de.jlam1-4/+4
2002-09-20Don't require setting the version of the replacement pthread package neededjlam1-1/+3
by pthread.buildlink2.mk if the default one from the package's buildlink2.mk suffices.
2002-09-20Create PTHREADBASE, which has the base prefix location for the pthreadjlam1-4/+7
libraries.
2002-09-20Fix problem with linking against uninstalled libtool archives that in turnjlam1-8/+47
depend on other uninstalled libtool archives. During the relinking process the newly installed libraries weren't being found. We now insert the appropriate -Ldir flags to allow them to be found in the uninstalled locations.
2002-09-20Protect against -Wl,-rpath,/usr/local/lib if LOCALBASE != /usr/local.jlam1-1/+2
2002-09-20Add RCD_SCRIPTS_SHELL to automatic rc.d script handling, defaulting togrant1-1/+3
${SH}. Enables rc.d script portability for non-NetBSD systems. as discussed with jlam.
2002-09-19Restore the ability to not automatically install the rc.d script intojlam3-5/+22
/etc/rc.d. This is controlled by the new variable PKG_RCD_SCRIPTS which may be set in /etc/mk.conf or in the shell environment in which the INSTALL script is executed. PKG_RCD_SCRIPTS only takes effect if ${PKG_CONFIG} == "YES" and defaults to NO.
2002-09-19Automatically generate and install the rc.d scripts if specified byjlam1-3/+51
RCD_SCRIPTS. From the comments in bsd.pkg.install.mk: # rc.d scripts are automatically generated and installed into the rc.d # scripts example directory at the post-install step. The following # variables are relevent to this process: # # RCD_SCRIPTS lists the basenames of the rc.d scripts # # RCD_SCRIPT_SRC.<script> the source file for <script>; this will # be run through FILES_SUBST to generate # the rc.d script # # RCD_SCRIPTS_EXAMPLEDIR the directory in which to install the # example rc.d scripts # # If the source rc.d script is not present, then the automatic handling # doesn't occur.
2002-09-18Recognize ghostscript-esp{,-nox11}.jlam1-1/+16
2002-09-18When using bsd.pkg.install.mk, if a DEINSTALL or INSTALL file alreadyjlam1-1/+9
exists, then use it as the default value of DEINSTALL_EXTRA_TMPL or INSTALL_EXTRA_TMPL.
2002-09-18Add secure HTTP support to the "wget" package. It is turned on by defaulttron1-1/+6
and can be turned of by "WGET_USE_SSL=NO".
2002-09-18Always Linux-*-i[3456]86, never Linux-*-i386.abs1-4/+4
Fixes ap-jk build breakage on Linux systems.
2002-09-18Split up the UNTRANSFORM variables into *.{1,2,3} so that they won'tjlam2-6/+15
exceed any maximum length on values stored in a variable.
2002-09-18Modifications and additions to create a dummy libtool archive to representjlam3-24/+115
a system library so that we can prefer a system library to a pkgsrc one when building with pkgsrc.
2002-09-17Move the LIBTOOL definition outside of the USE_LIBTOOL conditional so thatjlam1-2/+2
it may be used by buildlink2.
2002-09-17Ensure that the PROTECT and UNPROTECT variables are clobbered by properlyjlam1-3/+6
ordering them and using += instead of an accidental = . This should fix pkg/18324 by John Kohl <jtk@kolvir.arlington.ma.us>.
2002-09-17Add REPLACE_BUILDLINK, REPLACE_BUILDLINK_PATTERNS, REPLACE_BUILDLINK_SED tojlam1-13/+95
bsd.buildlink2.mk. This allows packages that use buildlink2 to fix up *-config and other shell scripts that hardcode wrong library names as a side-effect of how buildlink2 works, e.g., the package thinks "-laa" works because the wrapper silently converts it to "-laa-x11. REPLACE_BUILDLINK files relative to ${WRKSRC} REPLACE_BUIDLINK_PATTERNS shell glob REPLACE_BUILDLINK_SED sed expression to run over the files named above
2002-09-16Change the way that we note when a libtool file has been fixed byjlam2-6/+12
buildlink2. We used to create a timestamp file in the .libs directory. Now, we add a line to the *.la and *.lai file that directly notes that it has been "modified by buildlink2". This makes it easier to debug problems caused by using the wrong libtool during either a build or install by checking if the *.la or *.lai files have the "modified by buildlink2" line.
2002-09-16Add a missing shell wildcard which was causing the expression to notjlam1-2/+2
catch arguments with symbols that are special to the shell.
2002-09-16* Assume each Emacs lisp package supports only (GNU) Emacs 20/21 by default.uebayasi1-7/+24
* Slightly modify the way to prefix "xemacs-" to a package compiled for XEmacs. * Suppress warnings issued when Emacs/XEmacs are not installed.
2002-09-16quote args to pkg_info, to prevent some shell trying to interpret them.hubertf1-8/+8
2002-09-16show-installed-depends: properly quote pkg, as it can contain some thingshubertf1-2/+2
the shell would definitely interpret in a wrong fashion (like "perl>=5.0" - we don't want to create some file). Pointed out by Jan Schaumann <jschauma@netmeister.org> on tech-pkg.
2002-09-16Don't pass down GHOSTSCRIPT_DEPENDS through MAKEFLAGS for now. It causesmycroft1-2/+2
shell quoting lossage.
2002-09-15Move xpkgwedge check from bsd.pkg.mk to bsd.prefs.mk so that X11PREFIXrh2-19/+21
location check within package Makefiles actually works as expected.
2002-09-14Undo previous commit. This seems to be a much more suble error.rh1-2/+2
2002-09-14Fix directory path to the X11 version of ghostscript-gnu.rh1-2/+2
2002-09-14* Prefix PKGNAME with "xemacs-" if the package is for XEmacs.uebayasi1-5/+3
* Do the trick in mk/emacs.mk instead of each package's Makefile.
2002-09-13Recognize latest versions of ghostscript-gnu.jlam1-3/+3
2002-09-13Recognize ghostscript-gnu-x11.jlam1-3/+5
2002-09-13A Makefile fragment for Emacs Lisp packages.uebayasi1-0/+173
2002-09-13Require at least 6.01. I don't think there are any more 6.0 installed outjlam1-2/+2
there.
2002-09-13Convert all of the GS_REQD to GHOSTSCRIPT_REQD.jlam1-11/+11
2002-09-13Add a ghostscript.mk file that may be included by packages that want ajlam1-0/+70
dependency on ghostscript. This handles the dependency patterns that will match either ghostscript{,-nox11} and ghostscript-gnu{,-nox11} depending on which version number of ghostscript is required. From the comments at the top of the file: To use this Makefile fragment, simply: (1) Optionally set GHOSTSCRIPT_REQD to the minimum version number of Ghostscript required by the package, (2) Optionally set USE_GHOSTSCRIPT to "build" to only add a build-time dependency on Ghostscript, (3) And include this Makefile fragment in the package Makefile,
2002-09-12Add BUILD_DIRS and INSTALL_DIRS, which have the same semantics asjlam1-3/+11
CONFIGURE_DIRS, and allows running the shell commands in the do-build and do-install targets within the specified directories. Both variables default to ${WRKSRC}.
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