diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-11-01 23:41:58 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-11-01 23:41:58 +0000 |
commit | 7775c2d980f427d7b8a652ce6062b6fe3766eb07 (patch) | |
tree | 55c3f57a3442bed0fc40cff252b84bcf8828511b /meta-pkgs | |
parent | 69f05a1ddb72f8604581f3fe6b8c74079d1528ba (diff) | |
download | pkgsrc-7775c2d980f427d7b8a652ce6062b6fe3766eb07.tar.gz |
Make this build/work on DragonFlyBSD. Patches were submitted by
Todd Willey via tech-pkg@.
Diffstat (limited to 'meta-pkgs')
-rw-r--r-- | meta-pkgs/xorg/Makefile.common | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/meta-pkgs/xorg/Makefile.common b/meta-pkgs/xorg/Makefile.common index a52fa6cd697..451633c6fe8 100644 --- a/meta-pkgs/xorg/Makefile.common +++ b/meta-pkgs/xorg/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.11 2004/10/20 14:33:30 reed Exp $ +# $NetBSD: Makefile.common,v 1.12 2004/11/01 23:41:59 xtraeme Exp $ # # XBUILD_DIRS is the group of directories under ${WRKSRC} that will # be built in. @@ -17,7 +17,27 @@ XORG_MAKEFILE_COMMON= # defined # # Manual page handling. # -.if ${OPSYS} == "FreeBSD" +.if ${OPSYS} == "DragonFly" + +XTHRSTUB_MINOR= '@comment ' +LIBXTHRSTUB= +XF86RUSH= '@comment ' +IMAKE_MANTOOLS= +LIBDRI= +MANSOURCEPATH= man/man +MAN_DIR= ${MANSOURCEPATH}1 +LIBMAN_DIR= ${MANSOURCEPATH}3 +KERNMAN_DIR= ${MANSOURCEPATH}4 +FILEMAN_DIR= ${MANSOURCEPATH}5 +MISCMAN_DIR= ${MANSOURCEPATH}7 +MAN_SUFFIX= 1 +LIBMAN_SUFFIX= 3 +KERNMAN_SUFFIX= 4 +FILEMAN_SUFFIX= 5 +MISCMAN_SUFFIX= 7 + +.elif ${OPSYS} == "FreeBSD" + . if ${LOWER_OPSYS_VERSUFFIX} == "4" XTHRSTUB_MINOR= '@comment ' LIBXTHRSTUB= @@ -116,9 +136,10 @@ MESSAGE_SUBST+= X11ROOT=${X11ROOT} # # Any volunteer to test any platform not listed here? :) # -ONLY_FOR_PLATFORM= FreeBSD-*-* Linux-*-* NetBSD-*-* OpenBSD-*-* SunOS-*-* +ONLY_FOR_PLATFORM= FreeBSD-*-* Linux-*-* NetBSD-*-* \ + OpenBSD-*-* SunOS-*-* DragonFly-*-* -MASTER_SITE_XORG+= \ +MASTER_SITE_XORG+= \ http://freedesktop.org/~xorg/X11R${XORG_VER}/src/ \ ftp://ftp.x.org/pub/ \ ftp://ftp.gwdg.de/pub/x11/x.org/pub/ \ @@ -137,7 +158,7 @@ _XINCLUDE_DIRS= include ${XBUILD_DIRS} ${XINCLUDE_DIRS} # # Operating Systems to pass our compiler options (CC, CXX, CPP, CFLAGS). # -SYSTEMS= FreeBSD NetBSD OpenBSD linux +SYSTEMS= FreeBSD NetBSD OpenBSD linux DragonFly .if !defined(NO_XORG_TARGETS) @@ -174,6 +195,8 @@ post-extract: @${LN} -sf ${X11ROOT}/lib/X11/config/version.def ${WRKSRC}/config/cf @${LN} -sf ${X11ROOT}/lib/X11/config/date.def ${WRKSRC}/config/cf + @${TOUCH} ${WRKSRC}/config/cf/DragonFly.cf + . for F in ${SYSTEMS} @${MV} ${WRKSRC}/config/cf/${F}.cf \ ${WRKSRC}/config/cf/${F}.cf.in |