diff options
Diffstat (limited to 'games/quake3-ra3/Makefile')
-rw-r--r-- | games/quake3-ra3/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/quake3-ra3/Makefile b/games/quake3-ra3/Makefile index d19b012dfffc..abf0bcd173b9 100644 --- a/games/quake3-ra3/Makefile +++ b/games/quake3-ra3/Makefile @@ -52,10 +52,12 @@ SORT?= /usr/bin/sort Q3SERVER_PORT= ${.CURDIR}/../q3server PKGMESSAGE!= cd ${Q3SERVER_PORT} && ${MAKE} -V PKGMESSAGE -.if defined(HAS_WIERDPATCHES) +.if defined(HAS_WIERDPATCHES) && defined(DISTFILES) post-extract: +.for files in ${DISTFILES:S/${EXTRACT_ONLY}//} @cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ - ${_DISTDIR}/${DISTFILES:S/${EXTRACT_ONLY}//} + ${DISTDIR}/${DIST_SUBDIR}/${files} +.endfor .endif pre-patch: |