aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-06-17 22:58:48 +0800
committermiwi <miwi@FreeBSD.org>2013-06-17 22:58:48 +0800
commit0a93d97fbef30b5609dbdfa6c788fc2139eded56 (patch)
treeb92e7b7d36a84446173eaa55af747c93a4ddc2b5 /x11
parentbb4c823e3bb1ae32022b4c63208d3c9f2d566ddb (diff)
downloadfreebsd-ports-gnome-0a93d97fbef30b5609dbdfa6c788fc2139eded56.tar.gz
freebsd-ports-gnome-0a93d97fbef30b5609dbdfa6c788fc2139eded56.tar.zst
freebsd-ports-gnome-0a93d97fbef30b5609dbdfa6c788fc2139eded56.zip
- Fix build on -current
- Add MAKE_JOBS_UNSAFE - Trim header PR: 179578 Submitted by: ports fury
Diffstat (limited to 'x11')
-rw-r--r--x11/xdtm/Makefile32
-rw-r--r--x11/xdtm/files/patch-lexical.l21
-rw-r--r--x11/xdtm/pkg-descr8
3 files changed, 40 insertions, 21 deletions
diff --git a/x11/xdtm/Makefile b/x11/xdtm/Makefile
index c6b3dd5f37b9..a1f154219d41 100644
--- a/x11/xdtm/Makefile
+++ b/x11/xdtm/Makefile
@@ -1,23 +1,21 @@
-# New ports collection makefile for: xdtm
-# Date created: 26th April 1995
-# Whom: gpalmer
-#
+# Created by: gpalmer
# $FreeBSD$
-#
-PORTNAME= xdtm
-PORTVERSION= 2.5.8
-PORTREVISION= 2
-CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= applications
+PORTNAME= xdtm
+PORTVERSION= 2.5.8
+PORTREVISION= 2
+CATEGORIES= x11
+MASTER_SITES= XCONTRIB/applications
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A graphical shell for the X Window System
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Graphical shell for the X Window System
-USE_IMAKE= yes
-USE_XORG= xaw
-WRKSRC= ${WRKDIR}/xdtm
-MAN1= xdtm.1
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_XORG= xaw
+USE_IMAKE= yes
+MAKE_JOBS_UNSAFE= yes
+
+MAN1= xdtm.1
.include <bsd.port.mk>
diff --git a/x11/xdtm/files/patch-lexical.l b/x11/xdtm/files/patch-lexical.l
new file mode 100644
index 000000000000..53bb2d3be358
--- /dev/null
+++ b/x11/xdtm/files/patch-lexical.l
@@ -0,0 +1,21 @@
+--- lexical.l.orig
++++ lexical.l
+@@ -1,3 +1,4 @@
++%option yylineno
+ %{ /*-*- Mode: C -*-*/
+ /**************************************************************************
+ ** File : lexical.l **
+@@ -171,13 +172,6 @@ static int numkeywords = (sizeof(keywordtable)/sizeof(
+
+ int parseerror=0; /* Number of parse errors */
+ char errormessage[255]; /* used for error messsages */
+-
+-/*
+- * ``yylineno'' not POSIX standard, so have to simulate it when using flex.
+- */
+-#ifdef FLEX_SCANNER
+-int yylineno=0;
+-#endif
+
+ %}
+ %%
diff --git a/x11/xdtm/pkg-descr b/x11/xdtm/pkg-descr
index 7640c713b586..d1c29641ced2 100644
--- a/x11/xdtm/pkg-descr
+++ b/x11/xdtm/pkg-descr
@@ -1,4 +1,4 @@
- The X Desktop Manager is a graphical shell for the X Window System,
- it provides mechanisms for all the usual shell activities and is
- intended to reduce the training necessary for UNIX novice to become
- productive on your system.
+The X Desktop Manager is a graphical shell for the X Window System, it
+provides mechanisms for all the usual shell activities and is intended
+to reduce the training necessary for UNIX novice to become productive
+on your system.