summaryrefslogtreecommitdiff
path: root/pkgtools/xpkgwedge
AgeCommit message (Collapse)AuthorFilesLines
2005-09-28Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,rillig1-3/+3
NO_BUILD, USE_LIBTOOL.
2005-06-14Update pkgtools/xpkgwedge to 1.14. Changes from 1.13 include usingjlam2-6/+8
the make required by the imake config files, which is specified by ${IMAKE_MAKE}. This allows differing make programs to be used for the main build versus xmkmf.
2005-06-14Update pkgtools/xpkgwedge to 1.13. Changes from version 1.12 includejlam2-7/+6
invoking the make(1) program as "make" instead of hardcoding the (wrong) path in ${MAKE_PROGRAM}. This will rely on the tools framework to have set up "make" to properly call the correct make(1) program. This should fix cases where pkgxmkmf called the wrong make(1) program on Linux systems.
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-2/+3
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-05-07Refer doc/pkgsrc.html instead of Packages.txt (HOMEPAGE variable).wiz1-2/+2
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-3/+2
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-07-31I don't know why, but using XFree86 or xorg from pkgsrc, doesn't getxtraeme2-4/+23
the correct link flags, anyway adding ExtraLoadFlags seems to fix this. Bump version to 1.12 (XFree86/xorg fix).
2004-06-15Let xpkgwedge to create a symlink ${PREFIX}/bin/mkfontscale, which isminskim1-3/+7
required to install fonts/jmk-fonts and fonts/sgi-fonts with recent X. Suggested by Kibum Han. Also add mkfontscale to CONFLICTS because mkfontscale installs bin/mkfontscale. Bump PKGVERSION to 1.11.
2004-04-301.10: Add a chunk of shlib override make-code to make this work on Interix,tv4-9/+80
and patch site.def (but differently from how it is patched on OpenWindows).
2004-04-27"${ECHO} -n" -> "${ECHO_N}"tv2-9/+9
2004-02-02These packages don't use any compilers, so set USE_LANGUAGES to an emptyjlam1-1/+2
value.
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2004-01-04Make sure LOCALBASE and X11BASE are defined before comparing them.reed1-1/+2
(Thank you, Takahiro.)
2004-01-03xpkgwedge is not needed when X11BASE is LOCALBASE,reed1-1/+5
so use PKG_SKIP_REASON. (Okay'd by jlam@). (Next I need to make sure that MesaLib and Xrender are not installed when using wip/XFree86-libs.)
2004-01-03Update pkgtools/xpkgwedge to 1.9. Changes from version 1.8 are makingjlam3-9/+16
this package work in a pkgviews world by looking for imake config files in ${PREFIX}/lib/X11/config, then ${VIEWBASE}/lib/X11/config, then ${X11BASE}/lib/X11/config. The second directory is where some packages may share a commonly-editted host.def file.
2003-12-02Treat an empty HOSTDEF file as if it didn't exist.gavan1-2/+2
From Greg A. Woods. Fixes PR pkg/22957.
2003-11-23We're not ready for pkgviews yet!jlam1-3/+1
2003-11-23Be more verbose about when we symlink the font programs.jlam2-2/+8
2003-11-23Update the host.def file during view (de)installation. Also deal withjlam4-8/+22
the font program symlinks at both view-deinstall and normal deinstallation time since the files aren't listed in the PLIST (the font programs are handled completely by the INSTALL/DEINSTALL scripts).
2003-10-19we suggest setting XAPPLRESDIR in /etc/profile and /etc/csh.login, sogrant1-1/+7
provide a csh example as well as a bourne shell example.
2003-10-18s,/usr/X11R6/,$${X11BASE}, in COMMENT.grant1-2/+2
yes, this deliberately does not expand ${X11BASE}, as that would lead to the same confusion (X11R6 vs. openwin, etc.) when we use this pkg's COMMENT on the web site/search.
2003-09-19Fix PLIST. Closes PR 20853 by FUKAUMI Naoki.wiz1-1/+4
2003-09-19Whitespace issues.jlam2-8/+11
2003-09-10Add handling for OpenWin on Solaris. Two files are patched withgavan4-11/+25
sed at install time which override the versions in the /usr/openwin tree. PREFIX no longer has a default value, as this relied on nonportable BSD make syntax. Makefiles generated with pkgxmkmf will now always need PREFIX set in the environment.
2003-08-30Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL ifjlam1-3/+5
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically pick up a INSTALL/DEINSTALL script in the package directory and assume that you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30Modernize this package a bit:jlam3-103/+24
* Use bsd.pkg.install.mk instead of supplying custom INSTALL/DEINSTALL scripts. * Note that this package doesn't really use buildlink. * Remove ancient BUILDLINK_DEPENDS= line at the bottom of the file that we no longer need since the buildlink1 days of yore.
2003-08-30xpkgwedge isn't only for NetBSD.jlam1-2/+2
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-3/+3
2003-06-12Use ${MAKE}, too.jschauma2-5/+6
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-2/+2
2003-03-29Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.jmmv1-2/+2
2002-09-24Complete standardization of messages according to latest pkglint.wiz1-3/+3
2002-08-23Merge pkgsrc/pkgtools from the buildlink2 branch back to the main trunk.jlam1-1/+1
2002-08-23Merge pkgtools/xpkgwedge from the buildlink2 branch back into the mainjlam1-1/+3
trunk.
2002-06-07This package doesn't work under Solaris because the include OpenWindowstron1-1/+3
is based on a very old X11 release.
2002-02-26Symlink/remove bdftopcf, fstobdf, and mkfontdir in the INSTALL/DEINSTALLjlam4-19/+45
scripts so that they are properly added and removed if xpkgwedge is installed as a binary package. Also, add some protection against the case where ${X11BASE} == ${PREFIX} by checking this isn't true before removing these font-manipulation programs.
2001-10-31Move pkg/ files into package's toplevel directoryzuntum5-4/+4
2001-10-14Create links for X11 font tools so that packages building own fonts e.g.tron2-4/+9
the "xjewel" will build again. Bump version number to 1.7.
2001-09-09Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:agc1-2/+2
WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value).
2001-07-13In package Makefiles, create FILES_SUBST instead of duplicating sedjlam2-14/+5
expression for substituting in DEINSTALL/INSTALL scripts. Use "${CMP} -s" instead of "diff -q" since the former is more portable across OSes.
2001-07-10bump version to 1.6 - work with host.def not existing on Solaris 8/x86hubertf1-2/+2
2001-07-10I don't know why I don't have a $X11_HOSTDEF, still I have none.hubertf2-3/+9
(Solaris 88/x86, of course with X running :) Make xpkgwedge not wedge in this config.
2001-07-02Update xpkgwedge to 1.5. This version factored out the buildlink logicjlam2-33/+3
into a separate package (buildlink-x11) usable even without xpkgwedge installed.
2001-07-01Make sure the -DBuildLink gets passed through to subdir Imakefiles ifjlam2-3/+5
BuildLink is defined. Bump xpkgwedge version number to 1.4 and increase xpkgwedge dependency version in bsd.pkg.mk.
2001-06-29Update xpkgwedge to 1.3. Changes from version 1.2 are adding a sectionjlam2-3/+31
triggered by the definition of "BuildLink" that forces ${BUILDLINK_DIR} to be searched ahead of ${LOCALBASE} and ${X11BASE} for headers and libraries.
2001-06-18Use FILES_SUBST instead of repeating substitution pattern for all thejlam3-32/+53
files, and substitute for a few more utilities instead of using unqualified names for programs.
2001-06-16Add a local modified copy of InstallAppDefaultsLong:veego2-3/+22
This is the same as the one in X11.tmpl, but without the LinkConfDirectory. LinkConfDirectory removes the app-defaults directory in $(PREFIX)/lib/X11 and creates a link to the real X11 app-defaults directory and moves the old app-defaults files into it. This is not what we want for pkgsrc. This is for the people who use the real XFree86 version and not the one from xsrc/xfree which has a NetBSD specific hack which breaks sharing /usr/X11R6. Bump to version 1.2.
2001-06-06- You must set the environment variable XAPPLRESDIR, not the shell variable.kei1-1/+2
Add an export line to do so to the example.