summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/punkbuster-data/Makefile2
-rw-r--r--net/punkbuster/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/punkbuster-data/Makefile b/net/punkbuster-data/Makefile
index 35b4ef7cc986..33b194a27c14 100644
--- a/net/punkbuster-data/Makefile
+++ b/net/punkbuster-data/Makefile
@@ -31,7 +31,7 @@ DESCR= ${PUNKBUSTER_PORT}/pkg-descr
PKGMESSAGE= ${PUNKBUSTER_PORT}/pkg-message
USE_LINUX_PREFIX= yes
-PUNKBUSTER_PORT= ../punkbuster
+PUNKBUSTER_PORT= ${.CURDIR}/../punkbuster
# the later is not working, hummm. Help?
#PUNKBUSTER_DIR!= cd ${PUNKBUSTER_PORT} && ${MAKE} -V PUNKBUSTER_DIR
PUNKBUSTER_DIR= /usr/games/punkbuster
diff --git a/net/punkbuster/Makefile b/net/punkbuster/Makefile
index 46a37a556074..3ffcfad46592 100644
--- a/net/punkbuster/Makefile
+++ b/net/punkbuster/Makefile
@@ -31,7 +31,7 @@ STRIP_LINUX= ${LINUXBASE}/usr/bin/strip
PUNKBUSTER_DIR= /usr/games/punkbuster/
PUNKBUSTER_PROGRAM= pb
-PUNKBUSTER_DATA_PORT= ../punkbuster-data
+PUNKBUSTER_DATA_PORT= ${.CURDIR}/../punkbuster-data
PUNKBUSTER_DATA!= cd ${PUNKBUSTER_DATA_PORT} && ${MAKE} -V PUNKBUSTER_DATA
PUNKBUSTER_DATA_DISTFILES!= cd ${PUNKBUSTER_DATA_PORT} && ${MAKE} -V DISTFILES
PUNKBUSTER_DOC_DIR= usr/doc/${PKGNAME}/