summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-06-05 11:38:35 +0000
committersobomax <sobomax@FreeBSD.org>2001-06-05 11:38:35 +0000
commit053fd210dfb21a6ab915fb493618c4b6c097ec06 (patch)
treece1effe547ea71762f28c9ca1843326696099a34 /audio
parenta89b2f073dc7dd991872fe5f4f9c8bf20341af75 (diff)
downloadFreeBSD-ports-053fd210dfb21a6ab915fb493618c4b6c097ec06.zip
FreeBSD-ports-053fd210dfb21a6ab915fb493618c4b6c097ec06.tar.gz
Standartise the way used to disable X11 support in various ports. From now
on WITHOUT_X11 is the Only True Way[tm].
Diffstat (limited to 'audio')
-rw-r--r--audio/snd/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index db0beb6..00b8619 100644
--- a/audio/snd/Makefile
+++ b/audio/snd/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= trevor@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
-.if defined(WITHOUT_X)
+.if defined(WITHOUT_X11)
WITHOUT_GTKEXTRA= yes
.endif
.if !defined(WITHOUT_GTKEXTRA)
@@ -25,7 +25,7 @@ LIB_DEPENDS+= gtkextra.14:${PORTSDIR}/x11-toolkits/gtkextra
.endif
.if !defined(WITHOUT_GUILE)
LIB_DEPENDS+= guile.9:${PORTSDIR}/lang/guile
-.if !defined(WITHOUT_X)
+.if !defined(WITHOUT_X11)
LIB_DEPENDS+= guilegtk-1.2:${PORTSDIR}/x11-toolkits/guile-gtk
.endif
.endif
@@ -33,7 +33,7 @@ LIB_DEPENDS+= guilegtk-1.2:${PORTSDIR}/x11-toolkits/guile-gtk
ALL_TARGET= audinfo snd sndinfo sndplay sndrecord sndsine
CONFIGURE_ARGS= --with-float-samples \
--with-multifile
-.if !defined(WITHOUT_X)
+.if !defined(WITHOUT_X11)
CONFIGURE_ARGS+= --with-gtk \
--with-gtkrc-colors \
--with-float-samples
@@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --without-guile
.if !defined(WITHOUT_GTKEXTRA)
CONFIGURE_ARGS+= --with-gtk-extra
.endif
-.if defined(WITHOUT_X)
+.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --without-gui
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -53,7 +53,7 @@ GNU_CONFIGURE= yes
MAKEFILE= makefile
PLIST= ${WRKDIR}/pkg-plist
PREFIX= /
-.if !defined(WITHOUT_X)
+.if !defined(WITHOUT_X11)
USE_GLIB= yes
USE_GTK= yes
USE_XLIB= yes
@@ -67,7 +67,7 @@ do-install:
.for i in audinfo snd-info sndplay sndrecord sndsine
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${LOCALBASE}/bin
.endfor
-.if !defined(WITHOUT_X)
+.if !defined(WITHOUT_X11)
${INSTALL_PROGRAM} ${WRKSRC}/snd ${X11BASE}/bin
${INSTALL_DATA} ${WRKSRC}/Snd.ad ${X11BASE}/lib/X11/app-defaults/
.else
@@ -94,7 +94,7 @@ pre-build:
.if !defined(WITHOUT_GUILE)
${CAT} ${PKGDIR}/pkg-plist-guile >> ${PLIST}
.endif
-.if !defined(WITHOUT_X)
+.if !defined(WITHOUT_X11)
${ECHO} "%%X11BASE%%/bin/snd" >> ${PLIST}
${ECHO} "%%X11BASE%%/lib/X11/app-defaults/Snd.ad" >> ${PLIST}
.else
OpenPOWER on IntegriCloud