aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/avifile/Makefile6
-rw-r--r--multimedia/xmps-win32-plugin/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile
index 3f3fa0da4b4a..9638bda67312 100644
--- a/multimedia/avifile/Makefile
+++ b/multimedia/avifile/Makefile
@@ -38,9 +38,9 @@ PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
FMT= /usr/bin/fmt
-CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
-#CODEC_PORT= ../win32-codecs
-CODEC_DETECTION_FILE!= cd ${CODEC_PORT} && ${MAKE} -V CODEC_DETECTION_FILE
+#CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
+CODEC_PORT= ${.CURDIR}/../win32-codecs
+CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
LIB_VERSION= 0
# Adhoc fix. First part.
diff --git a/multimedia/xmps-win32-plugin/Makefile b/multimedia/xmps-win32-plugin/Makefile
index fefb621e1a15..be731ed25451 100644
--- a/multimedia/xmps-win32-plugin/Makefile
+++ b/multimedia/xmps-win32-plugin/Makefile
@@ -24,9 +24,9 @@ USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
-CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
-#CODEC_PORT= ../win32-codecs
-CODEC_DETECTION_FILE!= cd ${CODEC_PORT} && ${MAKE} -V CODEC_DETECTION_FILE
+#CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
+CODEC_PORT= ${.CURDIR}/../win32-codecs
+CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
LIB_VERSION= 0
post-patch: