Use USE_AUTOMAKE; add missing EXTRACT_ONLY; remove some useless patches.

PR:		19382
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Will Andrews 2000-06-20 07:39:02 +00:00
parent 688f7b6228
commit b8713e74a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29707
2 changed files with 3 additions and 21 deletions

View file

@ -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

View file

@ -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