summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-12-05add handling for some required -Wl, transformations for packages thatgrant2-1/+68
assume Apple gcc on Darwin. thanks, Johnny :) this allows perl to build with xlc.
2004-12-05whitespace fixgrant1-4/+4
2004-12-05transform -dynamiclib and -fno-common to the appropriate argumentsgrant1-2/+16
for xlc.
2004-12-05add show-options target which displays the options available, default,grant1-1/+17
and enabled for the current pkg, eg. mail/sendmail: available: db2 db4 inet6 ldap sasl sasl2 socketmap starttls tcpwrappers default: canna esound gif idea inet6 inet6 sj3 tcpwrappers wnn4 enabled: inet6 tcpwrappers
2004-12-05Allow the wrapper-specific transform scripts to replace one arg withjlam1-12/+24
several args by setting split_arg="yes" as part of the transformation.
2004-12-05don't throw away all "-Wl," arguments, they are needed to pass variousgrant1-3/+3
shlib options to the Darwin linker.
2004-12-05fix typogrant1-2/+2
2004-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz1-3/+8
Suggested by Roland Illig, ok'd by various.
2004-12-02add MASTER_SITE_IFARCHIVE -- list of mirrors of the Interactive Fiction Archivedillo1-1/+7
2004-12-02Don't hardcode /usr/include/db.h and /usr/include/db1/db.h all over thejlam1-10/+16
place. Also, modify the buildlink-db1-db185-h target to use symlinks instead of include <db.h> since several bdb implementations might be buildlinked, and we need to be more precise about exactly which db.h header is being used.
2004-12-02If we're using the builtin dlopen(), and libdl.* doesn't exist, thenjlam1-1/+3
drop the "-ldl" option on the floor. This "fixes" packages that hardcode "-ldl" into the command line when linking software.
2004-12-01"the the" -> "the"wiz4-9/+9
2004-11-30We already know that bsd.prefs.mk is included before this, so reduce maketv1-5/+3
parser churn by skipping a second include of it. Use PKGDIR in preference to .CURDIR as in other .mk files.
2004-11-30Remove the trailing whitespace in the values of the toolchain variablesjlam2-2/+10
(CC, LD, CXX, etc.) if the default values have no arguments. Now, CC == "cc" and not "cc ".
2004-11-30Modify the way that the toolchain variables, e.g. CC, CPP, CXX, LD, etc.,jlam10-148/+228
are handled. The idea now is to simply remove the paths in the values of these variables, leaving behind only the basename plus any arguments, e.g.: CC= /usr/local/bin/gcc becomes CC= gcc CPP= /usr/local/bin/gcc -E becomes CPP= gcc -E The wrapper scripts are generated for every unique executable mentioned by the toolchain variables, so for the example above, only a "gcc" wrapper script is generated for ${CC} and ${CPP}. PKG_{CC,CPP,CXX,etc.} are the paths to the executables wrapped by the wrapper scripts. Note that it's now possible to set "CC" to something more than just the path to the compiler, e.g. CC= cc -ffast-math -funroll-loops -fomit-frame-pointer and the full value of ${CC} will be passed through via CONFIGURE_ENV and MAKE_ENV.
2004-11-29Since last revision PTHREAD_AUTO_VARS defaults to 'no'.seb1-2/+2
2004-11-29Remove anl.gov from _CYGWIN as it is either slow or dead most of the time.tv1-2/+1
2004-11-28Set initial values for PKG_{CC,CPP,CXX,FC} which are used within thejlam1-1/+9
${compiler}.mk files to discover the short names of the compilers. This allows ccache.mk to properly create symlinks when CC is set explicitly within /etc/mk.conf.
2004-11-28Remove pre-buildlink and post-buildlink as part of getting pkgsrc readyjlam1-11/+3
for pkgsrc-2004Q4. The "buildlink" phase was removed for the last branch, and this is the final cleanup. "post-buildlink" is now "post-wrapper".
2004-11-28Don't show the currently selected options if there aren't any.jlam1-1/+3
2004-11-28Reverse the tests so that we actually check for the existence and notjlam3-18/+18
the non-existence of the library -- this more accurately reflects what we want to say.
2004-11-27CFLAGS+=-ma because most packages expect alloca to be available andgrant1-1/+5
this makes it so with xlc.
2004-11-27Remove "LYNX_SCREEN_LIB" option, not supported by the lynx package rightxtraeme1-6/+1
now, use PKG_OPTIONS.lynx+=foo bar instead.
2004-11-27Output the currently selected options after telling the user whichjlam1-13/+21
options are available.
2004-11-26Match NetBSD-2.x_RCn as well as NetBSD-2.x.jlam1-2/+3
2004-11-26Move the section that defines DLOPEN_REQUIRE_PTHREAD outside of thejlam1-22/+22
CHECK_BUILTIN.dl-protected section so that it's value can be usd after dlopen.buildlink3.mk is included. This should fix PR pkg/28422.
2004-11-26Check that USE_BUILTIN.dl is "yes", not that it's just defined.jlam1-2/+2
2004-11-26Don't auto-add -ldl to LIBS since most GNU configure scripts alreadyjlam1-2/+6
check for this condition.
2004-11-26Don't append BUILDLINK_CFLAGS.pthread to itself if pthread.builtin.mkjlam1-1/+2
gets included multiple times.
2004-11-26Move all dlopen-handling code into dlopen.{builtin,buildlink3}.mk.jlam2-12/+6
2004-11-26More tightly integrate the OSF1 changes into pthread.builtin.mk by usingjlam1-24/+17
more feature tests instead of OPSYS tests.
2004-11-26Split dlopen.buildlink3.mk into two files: dlopen.buildlink3.mk, whichjlam2-36/+98
is included by packages that use dlopen(), and dlopen.builtin.mk, which checks for the presence of built-in dl*() functions. On Darwin, including dlopen.buildlink3.mk will cause the devel/dlcompat package to be used if the base system lacks a dlcompat library.
2004-11-26Fix the "MACHINE_PLATFORM" patterns by appending "-*".jlam1-3/+3
2004-11-26Define DL_{CFLAGS,LDFLAGS,LIBS} as compiler/linker flags for buildingjlam1-1/+25
or linking code that uses dl*() functions. Also re-structure a bit to pave the way for a future dlopen.builtin.mk that handles -ldl on some platforms and dlcompat on Darwin.
2004-11-26Missing a make variable modifier.jlam1-2/+2
2004-11-26Add missing quotes.jlam1-3/+3
2004-11-25Don't recursively define _DLOPEN_REQUIRE_PTHREADS.jlam1-2/+2
2004-11-25Perl is all about loadable perl modules, so include dlopen.buildlink3.mk.jlam1-11/+1
If we include pthread.buildlink3.mk, then build with Perl ithreads support. Bump the PKGREVISION. Nuke the perl58-thread package. The perl package can now be forcibly built with thread support by setting PERL5_USE_THREADS to "yes".
2004-11-25Only include pthreads if we prefer native pthreads. This allows buildingjlam1-1/+3
pkgsrc without any pthreads if we don't want to.
2004-11-25dlopen.buildlink3.mk should be added to packages that use dlopen() tojlam2-1/+44
load shared objects. Some platforms require pthreads to be linked into the application if it uses dlopen() or else the applications will core dump when they dlopen a shared module that _is_ linked with pthread support. Including dlopen.buildlink3.mk in a package Makefile will cause pthread.buildlink3.mk to also be included. It is up to the package to ensure that PTHREAD_{CFLAGS,LDFLAGS,LIBS} (defined by pthread.buildlink3.mk) are passed to the compiler when building/linking the applications, possibly by setting PTHREAD_AUTO_VARS to "yes" in the package Makefile.
2004-11-25Default USE_GIF to "yes". This affects graphics/tiff and x11/qt1,jlam1-2/+2
which will now be built by default with the ability to write LZW-compressed files.
2004-11-25Default PTHREAD_AUTO_VARS to the safer value of "no". Most packagesjlam1-2/+2
that use pthreads already implement their own probes for pthreads, so we don't need to auto-add the compiler/linker flags.
2004-11-24Sync MASTER_SITE_SOURCEFORGE with reality.wiz1-4/+4
2004-11-23Don't hard-code "lang/perl58". Instead, use the value of PERL5_PKGSRCDIRjlam2-4/+6
which is computed based on whether perl or perl-thread should be the default.
2004-11-23Fix the find command used to print out all of the .broken* files. It nowjlam1-2/+2
prints out both the .broken.html and .broken.work.html files instead of just the latter.
2004-11-23Use CCPATH instead of referring to the C compiler by its full path injlam5-20/+20
multiple places.
2004-11-23Whitespace changes.jlam2-18/+18
2004-11-23add {CC,CXX,FC,F77}PATH variables which give the complete path anddmcmahill5-5/+17
name of the {CC,CXX,FC,F77} compilers. These will be used by pkgs which need to know which compiler and where it is at run time. Approved by jlam@
2004-11-22Now that no package uses USE_GCC_SHLIB any longer, remove supportwiz2-21/+8
for it from compiler.mk. Move the variable of the same name used by compiler/gcc.mk and the gcc* buildlink3 files into private namespace (_USE_GCC_SHLIB).
2004-11-22Remove a duplicate gnome mirror, and fix path on a second one.wiz1-3/+2