diff options
author | glewis <glewis@FreeBSD.org> | 2019-04-26 22:42:42 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2019-04-26 22:42:42 +0800 |
commit | 7ccf9f2a37157558d679f07ffdd318fa644a2e0a (patch) | |
tree | 7324360755f609543dc14b9eeeaa62c349512112 | |
parent | 56c4451ad3f788514830c231b00cd5e1a5bc4eef (diff) | |
download | freebsd-ports-gnome-7ccf9f2a37157558d679f07ffdd318fa644a2e0a.tar.gz freebsd-ports-gnome-7ccf9f2a37157558d679f07ffdd318fa644a2e0a.tar.zst freebsd-ports-gnome-7ccf9f2a37157558d679f07ffdd318fa644a2e0a.zip |
Fix hardcoding of /usr/local to instead use ${PREFIX}
-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 /* |