aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wdm
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-20 15:39:02 +0800
committerwill <will@FreeBSD.org>2000-06-20 15:39:02 +0800
commitfdb9a8cbab5f4d29318884177083b6ecf5aeba7b (patch)
treeff50d712a28617e604d8c27aa89f0cc075ca8cf1 /x11/wdm
parent8f950a369aefd85a50c186571e8bd628049c0f94 (diff)
downloadfreebsd-ports-gnome-fdb9a8cbab5f4d29318884177083b6ecf5aeba7b.tar.gz
freebsd-ports-gnome-fdb9a8cbab5f4d29318884177083b6ecf5aeba7b.tar.zst
freebsd-ports-gnome-fdb9a8cbab5f4d29318884177083b6ecf5aeba7b.zip
Use USE_AUTOMAKE; add missing EXTRACT_ONLY; remove some useless patches.
PR: 19382 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'x11/wdm')
-rw-r--r--x11/wdm/Makefile12
-rw-r--r--x11/wdm/files/patch-am12
2 files changed, 3 insertions, 21 deletions
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile
index 16f81a04eef4..cd902164918a 100644
--- a/x11/wdm/Makefile
+++ b/x11/wdm/Makefile
@@ -11,16 +11,16 @@ CATEGORIES= x11 windowmaker
MASTER_SITES= http://www.tcscs.com/wdm/wdm/ \
http://www.de.freebsd.org/de/gif/bsd/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DAEMONPIC}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= wraster.3:${PORTSDIR}/x11-wm/windowmaker
-BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= wdm
USE_X_PREFIX= yes
-USE_AUTOCONF= yes
+USE_AUTOMAKE= yes
+AUTOMAKE= automake -a -i
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-DCSRG_BASED -DHAS_SETUSERCONTEXT" \
LIBS="-L${LOCALBASE}/lib ${LIBPAM}"
@@ -46,15 +46,9 @@ pre-fetch:
@${ECHO_MSG} "To build this port with PAM support, define \"WITH_PAM\"."
.endif
-post-extract:
- @${CP} ${FILESDIR}/*.patch ${WRKSRC}/patches
-
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/*.man
-pre-configure:
- @(cd ${WRKSRC}; automake -a --include-deps)
-
post-install:
${INSTALL_DATA} ${_DISTDIR}/${DAEMONPIC} ${PREFIX}/lib/X11/wdm/pixmaps
diff --git a/x11/wdm/files/patch-am b/x11/wdm/files/patch-am
deleted file mode 100644
index d3ed2e424271..000000000000
--- a/x11/wdm/files/patch-am
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/TestLogin.c.orig Thu Jul 1 21:51:28 1999
-+++ src/TestLogin.c Tue Mar 7 22:05:04 2000
-@@ -67,7 +67,9 @@
- #include <stdlib.h>
- #include <string.h>
- #include <signal.h>
-+#ifndef __STDC__
- #include <malloc.h>
-+#endif
-
-
- #define forever 1