diff options
author | tron <tron@pkgsrc.org> | 2000-08-07 07:32:41 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-08-07 07:32:41 +0000 |
commit | b250c1df32fec4cca1a94595fdaaa3074c9519c4 (patch) | |
tree | 279fd8a74490d7c255858fb7782371007425bae0 /x11/kdebase | |
parent | 2d0d49ec56f628d81924c2d8e02358e86aeb6b1b (diff) | |
download | pkgsrc-b250c1df32fec4cca1a94595fdaaa3074c9519c4.tar.gz |
Compile support for "XDM-AUTHORIZATION-1" into "kdm" if base X11 system
supports it.
Diffstat (limited to 'x11/kdebase')
-rw-r--r-- | x11/kdebase/Makefile | 10 | ||||
-rw-r--r-- | x11/kdebase/files/Imakefile | 6 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/kdebase/Makefile b/x11/kdebase/Makefile index ff206376e33..3fa24e5e213 100644 --- a/x11/kdebase/Makefile +++ b/x11/kdebase/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.67 2000/07/15 20:39:26 agc Exp $ +# $NetBSD: Makefile,v 1.68 2000/08/07 07:32:41 tron Exp $ # FreeBSD Id: Makefile,v 1.6 1997/11/27 00:35:27 se Exp DISTNAME= kdebase-1.1.2 @@ -38,6 +38,7 @@ PLIST_SRC= ${WRKDIR}/PLIST PLIST_DIRS= share/kde/applnk share/kde/apps/kappfinder \ share/kde/apps/kdisknav share/kde/icons share/kde/mimelnk +IMAKEDIR= ${WRKDIR}/imake KDE_DIRS= share/doc/kde/HTML/cs share/doc/kde/HTML/da \ share/doc/kde/HTML/de share/doc/kde/HTML/el \ share/doc/kde/HTML/fi share/doc/kde/HTML/fr \ @@ -57,6 +58,13 @@ post-extract: @${LN} -fs ${FILESDIR}/info_netbsd.cpp ${WRKSRC}/kcontrol/info @${LN} -fs ${FILESDIR}/memory_netbsd.cpp ${WRKSRC}/kcontrol/info +post-configure: + ${MKDIR} ${IMAKEDIR} + ${LN} -fs ${FILESDIR}/Imakefile ${IMAKEDIR} + cd ${IMAKEDIR} && \ + ${XMKMF} && ${MAKE} hasxdmauth >>${WRKSRC}/kdm/kdm-config.h + ${RM} -rf ${IMAKEDIR} + post-install: @${CHMOD} u+s ${PREFIX}/bin/klock @${CP} ${PLIST_INIT} ${PLIST_SRC} diff --git a/x11/kdebase/files/Imakefile b/x11/kdebase/files/Imakefile new file mode 100644 index 00000000000..cde53ce9d90 --- /dev/null +++ b/x11/kdebase/files/Imakefile @@ -0,0 +1,6 @@ +/* $NetBSD: Imakefile,v 1.1 2000/08/07 07:32:42 tron Exp $ */ + +hasxdmauth: +#if HasXdmAuth == YES + @echo "#define HASXDMAUTH 1" +#endif |