ports/70719: [UPDATE] Enable OPTIONS feature of ports/x11/wdm

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 15:10:24 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list