diff options
Diffstat (limited to 'editors/emacs/Makefile')
| -rw-r--r-- | editors/emacs/Makefile | 18 |
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 | ||
| 20 | DEBUG_PACKAGES = ${BUILD_PACKAGES} | 20 | DEBUG_PACKAGES = ${BUILD_PACKAGES} |
| 21 | 21 | ||
| 22 | FLAVORS= athena no_x11 | 22 | FLAVORS= athena motif no_x11 |
| 23 | FLAVOR?= athena | 23 | FLAVOR?= athena |
| 24 | 24 | ||
| 25 | GCCARCH= ${MACHINE_ARCH}-unknown-openbsd | 25 | GCCARCH= ${MACHINE_ARCH}-unknown-openbsd |
| @@ -52,9 +52,7 @@ CONFIGURE_ARGS+= --without-x | |||
| 52 | LIB_DEPENDS+= graphics/jpeg \ | 52 | LIB_DEPENDS+= graphics/jpeg \ |
| 53 | graphics/png \ | 53 | graphics/png \ |
| 54 | devel/gmp | 54 | devel/gmp |
| 55 | . if ${FLAVOR} == "athena" | ||
| 56 | CONFIGURE_ARGS+= --with-x \ | 55 | CONFIGURE_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 |
| 65 | LIB_DEPENDS+= x11/Xaw3d | 63 | |
| 66 | WANTLIB += ICE SM X11 X11-xcb Xaw3d Xext Xfixes Xinerama Xmu | 64 | |
| 65 | WANTLIB += ICE SM X11 X11-xcb Xext Xfixes Xinerama Xmu | ||
| 67 | WANTLIB += Xpm Xrandr Xrender Xt xcb fontconfig freetype | 66 | WANTLIB += Xpm Xrandr Xrender Xt xcb fontconfig freetype |
| 68 | WANTLIB += jpeg png gmp | 67 | WANTLIB += jpeg png gmp |
| 68 | |||
| 69 | . if ${FLAVOR} == "athena" | ||
| 70 | CONFIGURE_ARGS+= --with-x-toolkit=athena | ||
| 71 | LIB_DEPENDS+= x11/Xaw3d | ||
| 72 | WANTLIB += Xaw3d | ||
| 73 | . elif ${FLAVOR} == "motif" | ||
| 74 | CONFIGURE_ARGS+= --with-x-toolkit=motif | ||
| 75 | LIB_DEPENDS+= x11/motif | ||
| 76 | WANTLIB += Xm | ||
| 69 | . else | 77 | . else |
| 70 | ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}" | 78 | ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}" |
| 71 | . endif | 79 | . endif |
