| @@ -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 | # |
3 | PKGNAME= xjed-0.99.16 | | 3 | PKGNAME= xjed-0.99.16 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | | | 5 | |
6 | PKG_DESTDIR_SUPPORT= user-destdir | | 6 | PKG_DESTDIR_SUPPORT= user-destdir |
7 | | | 7 | |
8 | .include "../../editors/jed/Makefile.common" | | 8 | .include "../../editors/jed/Makefile.common" |
9 | COMMENT= Extensible folding editor with Emacs/WordStar/EDT emulations, X11 version | | 9 | COMMENT= Extensible folding editor with Emacs/WordStar/EDT emulations, X11 version |
10 | | | 10 | |
11 | CONFLICTS= jed-[0-9]* | | 11 | CONFLICTS= jed-[0-9]* |
12 | | | 12 | |
13 | CONFIGURE_ARGS+= --with-x | | 13 | CONFIGURE_ARGS+= --with-x |
14 | | | 14 | |
15 | BUILD_TARGET= xjed | | 15 | BUILD_TARGET= xjed |
16 | | | 16 | |
17 | MESSAGE_SRC= ${.CURDIR}/../jed/MESSAGE | | 17 | MESSAGE_SRC= ${.CURDIR}/../jed/MESSAGE |
18 | PLIST_SRC= ${.CURDIR}/../jed/PLIST | | 18 | PLIST_SRC= ${.CURDIR}/../jed/PLIST |
19 | PLIST_SRC+= ${.CURDIR}/PLIST.xjed | | 19 | PLIST_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" |
25 | CONFIGURE_ENV+= ac_cv_func_grantpt=no | | 26 | CONFIGURE_ENV+= ac_cv_func_grantpt=no |
26 | .endif | | 27 | .endif |
27 | | | 28 | |
28 | BUILDLINK_DEPMETHOD.libXt?= build | | 29 | BUILDLINK_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" |