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

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 08:05:38 PDT 2004


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




More information about the freebsd-ports mailing list