Page MenuHomeFreeBSD

D61243.1794648201.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D61243.1794648201.diff

diff --git a/games/quake-data/Makefile.include b/games/quake-data/Makefile.include
--- a/games/quake-data/Makefile.include
+++ b/games/quake-data/Makefile.include
@@ -12,6 +12,6 @@
PLIST_SUB+= Q1DIR="${Q1DIR:S|${LOCALBASE}/||}"
SUB_LIST+= Q1DIR="${Q1DIR}"
-.if ${PORTNAME} != data && ${PORTNAME} != maps
+.if ${PORTNAME} != data && !defined(DISABLEPAK0)
RUN_DEPENDS+= ${Q1DIR}/id1/pak0.pak:games/quake-data
.endif
diff --git a/games/quake-maps/Makefile b/games/quake-maps/Makefile
--- a/games/quake-maps/Makefile
+++ b/games/quake-maps/Makefile
@@ -18,6 +18,8 @@
NO_BUILD= yes
PLIST_SUB= Q1MAPSDIR="${DATADIR:N${LOCALBASE}}"
+DISABLEPAK0= yes
+
.include "${.CURDIR}/../quake-data/Makefile.include"
do-install:
diff --git a/games/vkquake/Makefile b/games/vkquake/Makefile
--- a/games/vkquake/Makefile
+++ b/games/vkquake/Makefile
@@ -19,6 +19,8 @@
GH_ACCOUNT= Novum
GH_PROJECT= vkQuake
+DISABLEPAK0= yes
+
.include "${.CURDIR}/../quake-data/Makefile.include"
CFLAGS+= -DDATADIR='\"${Q1DIR}\"' -Wno-error=atomic-alignment

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 14, 9:23 AM (2 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41699345
Default Alt Text
D61243.1794648201.diff (1 KB)

Event Timeline