1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

s/.elseif/.elif

This commit is contained in:
Michael Nottebrock 2005-04-12 18:05:21 +00:00
parent 9564e799ea
commit 10be91f19e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133163
6 changed files with 12 additions and 12 deletions

View File

@ -72,7 +72,7 @@ pre-configure:
${REINPLACE_CMD} \
-e 's|LIBS="-laudio $$LIBS"|LIBS="-laudio -lm -lXt -lXau $$LIBS"|g' \
${WRKSRC}/configure
.elseif defined(WITHOUT_NAS)
.elif defined(WITHOUT_NAS)
${REINPLACE_CMD} \
-e 's|ac_cv_lib_audio_AuOpenServer=yes|ac_cv_lib_audio_AuOpenServer=no|g' \
${WRKSRC}/configure

View File

@ -44,7 +44,7 @@ WITH_DOCS= yes
.if defined(WITH_DOCS) || defined(PACKAGE_BUILDING)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
PLIST_SUB+= DOCS=""
.elseif defined(WITHOUT_DOCS)
.elif defined(WITHOUT_DOCS)
CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN="false"
PLIST_SUB+= DOCS="@comment "
.endif

View File

@ -50,13 +50,13 @@ OPTIONS= IMLIB "Build Kuickshow, a fast and versatile image viewer" off \
.if defined(WITH_IMLIB)
RUN_DEPENDS+= kuickshow:${PORTSDIR}/graphics/kuickshow
.elseif defined(WITHOUT_IMLIB)
.elif defined(WITHOUT_IMLIB)
CONFIGURE_ARGS+=--without-imlib-config
.endif
.if defined(WITH_GPHOTO2)
RUN_DEPENDS+= ${LOCALBASE}/lib/kde3/kcm_kamera.la:${PORTSDIR}/graphics/kamera
.elseif defined(WITHOUT_GPHOTO2)
.elif defined(WITHOUT_GPHOTO2)
CONFIGURE_ARGS+=--without-kamera
.endif

View File

@ -50,13 +50,13 @@ OPTIONS= IMLIB "Build Kuickshow, a fast and versatile image viewer" off \
.if defined(WITH_IMLIB)
RUN_DEPENDS+= kuickshow:${PORTSDIR}/graphics/kuickshow
.elseif defined(WITHOUT_IMLIB)
.elif defined(WITHOUT_IMLIB)
CONFIGURE_ARGS+=--without-imlib-config
.endif
.if defined(WITH_GPHOTO2)
RUN_DEPENDS+= ${LOCALBASE}/lib/kde3/kcm_kamera.la:${PORTSDIR}/graphics/kamera
.elseif defined(WITHOUT_GPHOTO2)
.elif defined(WITHOUT_GPHOTO2)
CONFIGURE_ARGS+=--without-kamera
.endif

View File

@ -36,7 +36,7 @@ OPTIONS= PTH "Enable alternative libgpgme using GNU portable threads" off
.if defined(WITH_PTH)
LIB_DEPENDS+= pth:${PORTSDIR}/devel/pth
PLIST_SUB+= WITH_PTH=''
.elseif defined(WITHOUT_PTH)
.elif defined(WITHOUT_PTH)
CONFIGURE_ARGS+=--without-pth --without-pth-test
PLIST_SUB+= WITH_PTH='@comment '
.endif

View File

@ -87,7 +87,7 @@ CONFIGURE_ARGS+=-platform ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
.if !defined(WITHOUT_XFT)
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
.elseif defined(WITHOUT_XFT)
.elif defined(WITHOUT_XFT)
CONFIGURE_ARGS+=-no-xft
.endif
@ -98,21 +98,21 @@ CONFIGURE_ARGS+=-debug
.if !defined(WITHOUT_OPENGL)
USE_GL= yes
CONFIGURE_ARGS+=-dlopen-opengl
.elseif defined(WITHOUT_OPENGL)
.elif defined(WITHOUT_OPENGL)
CONFIGURE_ARGS+=-disable-opengl
.endif # WITHOUT_OPENGL
.if !defined(WITHOUT_CUPS)
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
CUPS= -cups -L${LOCALBASE}/lib -I${LOCALBASE}/include
.elseif defined(WITHOUT_CUPS)
.elif defined(WITHOUT_CUPS)
CUPS=
.endif
.if !defined(WITHOUT_NAS)
LIB_DEPENDS+= audio:${PORTSDIR}/audio/nas
CONFIGURE_ARGS+=-system-nas-sound -no-pch
.elseif defined(WITHOUT_NAS)
.elif defined(WITHOUT_NAS)
CONFIGURE_ARGS+=-no-nas-sound
.endif
@ -143,7 +143,7 @@ EXTRA_PATCHES= ${PATCHDIR}/0001-dnd_optimization.patch \
PKGNAMESUFFIX= -copy
COMMENT+= (+ KDE patches)
CONFLICTS+= qt-3.3.*
.elseif defined(WITHOUT_KDE_PATCHES)
.elif defined(WITHOUT_KDE_PATCHES)
CONFLICTS+= qt-copy-[0-9]*
.endif