diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2019-04-26 14:42:42 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2019-04-26 14:42:42 +0000 |
commit | 9c79f2f20860519c4f0815dcc6bf3f7a057faf65 (patch) | |
tree | 7324360755f609543dc14b9eeeaa62c349512112 /games/nethack36 | |
parent | 1ac1c87de16ff83222bfdc0c468e9ac7d3947a5f (diff) | |
download | ports-9c79f2f20860519c4f0815dcc6bf3f7a057faf65.tar.gz ports-9c79f2f20860519c4f0815dcc6bf3f7a057faf65.zip |
Fix hardcoding of /usr/local to instead use ${PREFIX}
Notes
Notes:
svn path=/head/; revision=500110
Diffstat (limited to 'games/nethack36')
-rw-r--r-- | games/nethack36/Makefile | 1 | ||||
-rw-r--r-- | games/nethack36/files/patch-include-config.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/games/nethack36/Makefile b/games/nethack36/Makefile index bd97d399802e..d5f2a08ac2c0 100644 --- a/games/nethack36/Makefile +++ b/games/nethack36/Makefile @@ -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 diff --git a/games/nethack36/files/patch-include-config.h b/games/nethack36/files/patch-include-config.h index 53f3337dae66..7a6bb14841e8 100644 --- a/games/nethack36/files/patch-include-config.h +++ b/games/nethack36/files/patch-include-config.h @@ -21,7 +21,7 @@ */ #ifndef HACKDIR -#define HACKDIR "/usr/games/lib/nethackdir" -+#define HACKDIR "/usr/local/share/nethack" ++#define HACKDIR "%%PREFIX%%/share/nethack" #endif /* |