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:   ports/70719: [UPDATE] Enable OPTIONS feature of ports/x11/wdm
Message-ID:  <200408201505.i7KF5RJs053483@alumni.csie.nctu.edu.tw>
Resent-Message-ID: <200408201510.i7KFAOPP024159@freefall.freebsd.org>

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

>Number:         70719
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/x11/wdm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 15:10:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>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 ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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