Tue Aug 7 14:54:36 2012 UTC ()
editors/xjed: Fix DragonFly build

DragonFly needs same hack as NetBSD - there's no strops.h header.


(marino)
diff -r1.14 -r1.15 pkgsrc/editors/xjed/Makefile

cvs diff -r1.14 -r1.15 pkgsrc/editors/xjed/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/xjed/Makefile 2010/01/29 20:05:22 1.14
+++ pkgsrc/editors/xjed/Makefile 2012/08/07 14:54:36 1.15
@@ -1,32 +1,33 @@ @@ -1,32 +1,33 @@
1# $NetBSD: Makefile,v 1.14 2010/01/29 20:05:22 joerg Exp $ 1# $NetBSD: Makefile,v 1.15 2012/08/07 14:54:36 marino Exp $
2# 2#
3PKGNAME= xjed-0.99.16 3PKGNAME= xjed-0.99.16
4PKGREVISION= 1 4PKGREVISION= 1
5 5
6PKG_DESTDIR_SUPPORT= user-destdir 6PKG_DESTDIR_SUPPORT= user-destdir
7 7
8.include "../../editors/jed/Makefile.common" 8.include "../../editors/jed/Makefile.common"
9COMMENT= Extensible folding editor with Emacs/WordStar/EDT emulations, X11 version 9COMMENT= Extensible folding editor with Emacs/WordStar/EDT emulations, X11 version
10 10
11CONFLICTS= jed-[0-9]* 11CONFLICTS= jed-[0-9]*
12 12
13CONFIGURE_ARGS+= --with-x 13CONFIGURE_ARGS+= --with-x
14 14
15BUILD_TARGET= xjed 15BUILD_TARGET= xjed
16 16
17MESSAGE_SRC= ${.CURDIR}/../jed/MESSAGE 17MESSAGE_SRC= ${.CURDIR}/../jed/MESSAGE
18PLIST_SRC= ${.CURDIR}/../jed/PLIST 18PLIST_SRC= ${.CURDIR}/../jed/PLIST
19PLIST_SRC+= ${.CURDIR}/PLIST.xjed 19PLIST_SRC+= ${.CURDIR}/PLIST.xjed
20 20
21.include "../../mk/bsd.prefs.mk" 21.include "../../mk/bsd.prefs.mk"
22 22
23# XXX For just now disable grantpt(3) for NetBSD-2.0F and later 23# XXX For just now disable grantpt(3) for NetBSD-2.0F and later
24.if ${OPSYS} == "NetBSD" 24# Also for Dragonfly, there's no strops.h header
 25.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
25CONFIGURE_ENV+= ac_cv_func_grantpt=no 26CONFIGURE_ENV+= ac_cv_func_grantpt=no
26.endif 27.endif
27 28
28BUILDLINK_DEPMETHOD.libXt?= build 29BUILDLINK_DEPMETHOD.libXt?= build
29 30
30.include "../../x11/libX11/buildlink3.mk" 31.include "../../x11/libX11/buildlink3.mk"
31.include "../../x11/libXt/buildlink3.mk" 32.include "../../x11/libXt/buildlink3.mk"
32.include "../../mk/bsd.pkg.mk" 33.include "../../mk/bsd.pkg.mk"