Fix hardcoding of /usr/local to instead use ${PREFIX}

This commit is contained in:
Greg Lewis 2019-04-26 14:42:42 +00:00
parent 1ac1c87de1
commit 9c79f2f208
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500110
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= nethack36
PORTVERSION= 3.6.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${TRUEPORTNAME}/${TRUEPORTNAME}/${PORTVERSION}
DISTNAME= ${TRUEPORTNAME}-${PORTVERSION:S/.//g}-src

View File

@ -21,7 +21,7 @@
*/
#ifndef HACKDIR
-#define HACKDIR "/usr/games/lib/nethackdir"
+#define HACKDIR "/usr/local/share/nethack"
+#define HACKDIR "%%PREFIX%%/share/nethack"
#endif
/*