aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/ede/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-05-18 13:00:30 +0800
committermiwi <miwi@FreeBSD.org>2014-05-18 13:00:30 +0800
commitf21c330128fa2576ea5b95e527cd16f01401d534 (patch)
treec635ad935659796034f610258816e81470e2ff05 /x11-wm/ede/Makefile
parent88de735bec2cb4a8384af4350c05b41275e526fc (diff)
downloadfreebsd-ports-gnome-f21c330128fa2576ea5b95e527cd16f01401d534.tar.gz
freebsd-ports-gnome-f21c330128fa2576ea5b95e527cd16f01401d534.tar.zst
freebsd-ports-gnome-f21c330128fa2576ea5b95e527cd16f01401d534.zip
- Fix build with clang
PR: 187497 Submitted by: Ports Fury
Diffstat (limited to 'x11-wm/ede/Makefile')
-rw-r--r--x11-wm/ede/Makefile25
1 files changed, 15 insertions, 10 deletions
diff --git a/x11-wm/ede/Makefile b/x11-wm/ede/Makefile
index f7c75e9a351f..17f723c6a52d 100644
--- a/x11-wm/ede/Makefile
+++ b/x11-wm/ede/Makefile
@@ -17,20 +17,21 @@ LICENSE= GPLv2 LGPL20
LICENSE_COMB= multi
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \
- jam:${PORTSDIR}/devel/jam \
- python:${PORTSDIR}/lang/python
+ jam:${PORTSDIR}/devel/jam
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus \
libcurl.so:${PORTSDIR}/ftp/curl \
libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
libfltk.so:${PORTSDIR}/x11-toolkits/fltk
-OPTIONS_DEFINE= HAL
-HAL_DESC= Enable HAL support
-
-USES= fam iconv gettext pathfix pkgconfig shared-mime-info
+USES= fam iconv:translit gettext pathfix pkgconfig \
+ shared-mime-info shebangfix
+SHEBANG_FILES= doc/asciidoc/asciidoc.py
+python_OLD_CMD= ${SETENV} python
+python_CMD= ${PYTHON_CMD}
USE_XORG= xcomposite xft xinerama xpm xrandr
-USE_PYTHON= yes
+USE_PYTHON= 2
GNU_CONFIGURE= yes
+CONFIGURE_ENV= PEKWM_CXXFLAGS="${CXXFLAGS}"
CONFIGURE_ARGS= --with-edelib_path=${EDELIB_WRKSRC} \
--with-fltk-path=${LOCALBASE}
INSTALL_ICONS= yes
@@ -41,15 +42,17 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFLICTS_INSTALL= pekwm-[0-9]*
+OPTIONS_DEFINE= HAL
+
+HAL_LIB_DEPENDS= libhal.so.1:${PORTSDIR}/sysutils/hal
+HAL_CONFIGURE_ENABLE= hal
+
EDELIB_NAME= edelib
EDELIB_VERSION= ${PORTVERSION}
EDELIB_DISTNAME=${EDELIB_NAME}-${EDELIB_VERSION}
EDELIB_DISTFILE=${EDELIB_DISTNAME}${EXTRACT_SUFX}
EDELIB_WRKSRC= ${WRKDIR}/${EDELIB_DISTNAME}
-HAL_LIB_DEPENDS= libhal.so.1:${PORTSDIR}/sysutils/hal
-HAL_CONFIGURE_OFF= --disable-hal
-
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local/share|${LOCALBASE}/share| ; \
@@ -60,6 +63,8 @@ post-patch:
@${REINPLACE_CMD} -e \
's|$$(CC)|@CXX@| ; \
s|-lstdc++||' ${WRKSRC}/Jamconfig.in
+ @${REINPLACE_CMD} -e \
+ '/desktop-links/s|^|#|' ${WRKSRC}/data/Jamfile
pre-configure:
@(cd ${EDELIB_WRKSRC} \