aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-01-25 10:55:36 +0800
committerahze <ahze@FreeBSD.org>2005-01-25 10:55:36 +0800
commit2557d536991b8456a0196999056916051674f317 (patch)
treececcf35e3b14c4e2591e8463b501d110e7e4fe5f /multimedia
parent6ffda8194b0945c16a6b1babb92e9a751a31c1dd (diff)
downloadfreebsd-ports-gnome-2557d536991b8456a0196999056916051674f317.tar.gz
freebsd-ports-gnome-2557d536991b8456a0196999056916051674f317.tar.zst
freebsd-ports-gnome-2557d536991b8456a0196999056916051674f317.zip
Fix pre-everything:: so it prints the right dvd drive.
Pointed out by: mezz
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/lsdvd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/multimedia/lsdvd/Makefile b/multimedia/lsdvd/Makefile
index 1a0f85c3857e..281dc1c1c724 100644
--- a/multimedia/lsdvd/Makefile
+++ b/multimedia/lsdvd/Makefile
@@ -29,11 +29,10 @@ WITH_DVD_DEVICE?=/dev/acd0
.endif
pre-everything::
-.if !defined(WITH_DVD_DEVICE)
- @${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}"
+ @${ECHO_MSG} "===> The default DVD device is ${WITH_DVD_DEVICE}"
@${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default"
@${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
-.endif
+ @${ECHO_MSG} "===>"
post-patch:
@${REINPLACE_CMD} -e 's|/dev/dvd|${WITH_DVD_DEVICE}|' \