aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmcd
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-07-24 03:10:32 +0800
committeranholt <anholt@FreeBSD.org>2004-07-24 03:10:32 +0800
commit3c76fd7fad82c9f137407348028fde08754f2866 (patch)
tree9818557f7ca7be09aba8db3b18a8262f50280603 /audio/xmcd
parenta861bc861bc7251a2f2399f845d673f742a19ee1 (diff)
downloadfreebsd-ports-gnome-3c76fd7fad82c9f137407348028fde08754f2866.tar.gz
freebsd-ports-gnome-3c76fd7fad82c9f137407348028fde08754f2866.tar.zst
freebsd-ports-gnome-3c76fd7fad82c9f137407348028fde08754f2866.zip
- Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it. XFREE86_VERSION is now deprecated. - Make xorg the default X_WINDOW_SYSTEM on -current. - Add several new X_*_PORT variables which point to various pieces of X11 based on the setting of X_WINDOW_SYSTEM, and make ports use them. - Add information to CHANGES about how to handle the transition. PR: ports/68763 Approved by: portmgr (marcus) Approved by: re (scottl)
Diffstat (limited to 'audio/xmcd')
-rw-r--r--audio/xmcd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile
index 8a9f86f303a3..bfeaae9fb581 100644
--- a/audio/xmcd/Makefile
+++ b/audio/xmcd/Makefile
@@ -45,7 +45,7 @@ post-patch:
-e 's|_CFLAGS= -pthread|_CFLAGS= ${PTHREAD_CFLAGS}|g; \
s|_LDFLAGS= -pthread|_LDFLAGS= ${PTHREAD_LIBS}|g'
-.if ${XFREE86_VERSION} == 4
+.if ${X_WINDOW_SYSTEM:L} != xfree86-3
post-build:
(cd ${WRKSRC}; \
for i in xmcd cda; do \
@@ -62,7 +62,7 @@ post-install:
@${STRIP_CMD} ${LIBBINDIR}/xmcd
@${CAT} ${PKGMESSAGE}
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${PREFIX}/lib/X11/app-defaults/XMcd
-.if ${XFREE86_VERSION} == 4
+.if ${X_WINDOW_SYSTEM:L} != xfree86-3
(cd ${WRKSRC}; \
for i in xmcd cda; do \
${INSTALL_MAN} $${i}.1.html ${PREFIX}/lib/X11/doc/html; \