Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 23:05:27 +0800 (CST)
From:      Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ports@freebsd.org
Subject:   [UPDATE] Enable OPTIONS feature of ports/x11/wdm
Message-ID:  <200408201505.i7KF5RJs053483@alumni.csie.nctu.edu.tw>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Ying-Chieh Chen
>Organization:	NCTU CSIE
>Confidential:	no
>Synopsis:	[UPDATE] Enable OPTIONS feature of ports/x11/wdm
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		update
>Release:	FreeBSD 4.10-STABLE i386
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/x11/wdm

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- wdm.patch begins here ---
diff -ruN /usr/ports/x11/wdm/Makefile wdm/Makefile
--- /usr/ports/x11/wdm/Makefile	Wed Apr 14 19:53:42 2004
+++ wdm/Makefile	Fri Aug 20 19:50:30 2004
@@ -53,6 +53,12 @@
 
 DAEMONPICS=	beastie.xpm daemon1-HQ-1280x960.jpg
 
+.if ( ${OSVERSION} >= 500028 )
+OPTIONS=	PAM "PAM support" on
+.else
+OPTIONS=	PAM "PAM support" off
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ( ${OSVERSION} >= 500028 ) && !defined(WITHOUT_PAM)
@@ -65,14 +71,6 @@
 
 .if !defined(WITH_PAM)
 CONFIGURE_ARGS+=	--disable-pam
-.endif
-
-pre-everything::
-.if !defined(WITH_PAM)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "If you want to compile with PAM support,"
-	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_PAM=yes\""
-	@${ECHO_MSG}
 .endif
 
 post-patch:
--- wdm.patch ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408201505.i7KF5RJs053483>