summaryrefslogtreecommitdiff
path: root/editors/emacs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs/Makefile')
-rw-r--r--editors/emacs/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 48d1fc2..2d62d56 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -19,7 +19,7 @@ EXTRACT_SUFX= .tar.xz
19 19
20DEBUG_PACKAGES = ${BUILD_PACKAGES} 20DEBUG_PACKAGES = ${BUILD_PACKAGES}
21 21
22FLAVORS= athena no_x11 22FLAVORS= athena motif no_x11
23FLAVOR?= athena 23FLAVOR?= athena
24 24
25GCCARCH= ${MACHINE_ARCH}-unknown-openbsd 25GCCARCH= ${MACHINE_ARCH}-unknown-openbsd
@@ -52,9 +52,7 @@ CONFIGURE_ARGS+= --without-x
52LIB_DEPENDS+= graphics/jpeg \ 52LIB_DEPENDS+= graphics/jpeg \
53 graphics/png \ 53 graphics/png \
54 devel/gmp 54 devel/gmp
55. if ${FLAVOR} == "athena"
56CONFIGURE_ARGS+= --with-x \ 55CONFIGURE_ARGS+= --with-x \
57 --with-x-toolkit=athena \
58 --with-xpm \ 56 --with-xpm \
59 --with-jpeg \ 57 --with-jpeg \
60 --with-png \ 58 --with-png \
@@ -62,10 +60,20 @@ CONFIGURE_ARGS+= --with-x \
62 --without-harfbuzz \ 60 --without-harfbuzz \
63 --without-otf \ 61 --without-otf \
64 --without-m17n-flt 62 --without-m17n-flt
65LIB_DEPENDS+= x11/Xaw3d 63
66WANTLIB += ICE SM X11 X11-xcb Xaw3d Xext Xfixes Xinerama Xmu 64
65WANTLIB += ICE SM X11 X11-xcb Xext Xfixes Xinerama Xmu
67WANTLIB += Xpm Xrandr Xrender Xt xcb fontconfig freetype 66WANTLIB += Xpm Xrandr Xrender Xt xcb fontconfig freetype
68WANTLIB += jpeg png gmp 67WANTLIB += jpeg png gmp
68
69. if ${FLAVOR} == "athena"
70CONFIGURE_ARGS+= --with-x-toolkit=athena
71LIB_DEPENDS+= x11/Xaw3d
72WANTLIB += Xaw3d
73. elif ${FLAVOR} == "motif"
74CONFIGURE_ARGS+= --with-x-toolkit=motif
75LIB_DEPENDS+= x11/motif
76WANTLIB += Xm
69. else 77. else
70ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}" 78ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}"
71. endif 79. endif