From 877b8a533b44bb6324ebbaf65cd80a60d1572003 Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Mon, 17 Apr 2000 00:18:05 +0000 Subject: Standardize all user defined options to the booleans WITH_FOO and WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports --- sysutils/cdrdao/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'sysutils') diff --git a/sysutils/cdrdao/Makefile b/sysutils/cdrdao/Makefile index 7eace10ec83b..4cff53d52605 100644 --- a/sysutils/cdrdao/Makefile +++ b/sysutils/cdrdao/Makefile @@ -4,10 +4,6 @@ # # $FreeBSD$ # -# If you don't want to use Joerg Schilling's SCSI library, -# set DONT_USE_SCGLIB = yes -# If you don't want to use pthreads, set DONT_USE_PTHREADS = yes -# If you want the graphical X toc file editor, set XCDRDAO = yes PORTNAME= cdrdao PORTVERSION= 1.1.3 @@ -45,18 +41,21 @@ PLIST=${PKGDIR}/PLIST.xcdrdao CONFIGURE_ARGS= --disable-gtkmmtest .endif -.if defined(DONT_USE_SCGLIB) && ${OSVERSION} > 300000 +.if defined(WITHOUT_SCGLIB) && ${OSVERSION} > 300000 CONFIGURE_ARGS+= --without-scglib .endif -.if defined(DONT_USE_PTHREADS) && ${OSVERSION} > 320000 +.if defined(WITHOUT_PTHREADS) && ${OSVERSION} > 320000 CONFIGURE_ARGS+= --without-posix-threads .endif pre-fetch: + @${ECHO_MSG} "If you don't want to use Joerg Schilling's SCSI library," + @${ECHO_MSG} "set WITHOUT_SCGLIB=yes." + @${ECHO_MSG} "If you don't want to use pthreads, set WITHOUT_PTHREADS=yes." .if !defined(XCDRDAO) @${ECHO_MSG} "To build the graphical X toc file editor, xcdrdao, type:" - @${ECHO_MSG} " make XCDRDAO=yes" + @${ECHO_MSG} " make XCDRDAO=yes." .else @${ECHO_MSG} "Building with xcdrdao" .endif -- cgit v1.2.3