summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-06-26 02:21:35 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-06-26 02:21:35 +0800
commit5a77c397dad6790f2cf3fb938566cea0c8fcd62f (patch)
treef4c7520b60946a5643f0b4946cb14779405cb6ab /x11/gnome-applets/Makefile
parentb26f1de910b7e366006f4b4cb8af212eeccef401 (diff)
downloadmarcuscom-ports-5a77c397dad6790f2cf3fb938566cea0c8fcd62f.tar
marcuscom-ports-5a77c397dad6790f2cf3fb938566cea0c8fcd62f.tar.gz
marcuscom-ports-5a77c397dad6790f2cf3fb938566cea0c8fcd62f.tar.bz2
marcuscom-ports-5a77c397dad6790f2cf3fb938566cea0c8fcd62f.tar.lz
marcuscom-ports-5a77c397dad6790f2cf3fb938566cea0c8fcd62f.tar.xz
marcuscom-ports-5a77c397dad6790f2cf3fb938566cea0c8fcd62f.tar.zst
marcuscom-ports-5a77c397dad6790f2cf3fb938566cea0c8fcd62f.zip
We do not need a DISPLAY to detect Python modules after all.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6492 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-applets/Makefile')
-rw-r--r--x11/gnome-applets/Makefile26
1 files changed, 1 insertions, 25 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile
index 9666c031d..f42705d48 100644
--- a/x11/gnome-applets/Makefile
+++ b/x11/gnome-applets/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gnome-applets/Makefile,v 1.120 2006/06/25 06:03:42 marcus Exp $
+# $MCom: ports/x11/gnome-applets/Makefile,v 1.121 2006/06/25 07:45:30 marcus Exp $
#
PORTNAME= gnome-applets
@@ -94,34 +94,10 @@ PLIST_SUB+= PYTHON=""
PLIST_SUB+= PYTHON="@comment "
.endif
-.if defined(USE_PYTHON) && !defined(DISPLAY)
-BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
- ${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
-.if !defined(PACKAGE_BUILDING)
-CONFIGURE_ENV+= DISPLAY="localhost:1001"
-.endif
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \
${WRKSRC}/libgweather/weather-met.c
@${REINPLACE_CMD} -e 's|system-tools-backends|system-tools-backends-2.0|g' \
${WRKSRC}/configure
-.if defined(USE_PYTHON) && !defined(DISPLAY)
-pre-configure:
- @if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
- ${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
- ${RM} -f ${WRKDIR}/.Xvfb.pid ; \
- fi
- ${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid
- @sleep 5
-
-post-configure:
- @if [ -f ${WRKDIR}/.Xvfb.pid ]; then \
- ${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill || ${TRUE} ; \
- ${RM} -f ${WRKDIR}/.Xvfb.pid ; \
- fi
-.endif
-
.include <bsd.port.post.mk>