From 9c79f2f20860519c4f0815dcc6bf3f7a057faf65 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Fri, 26 Apr 2019 14:42:42 +0000 Subject: [PATCH] Fix hardcoding of /usr/local to instead use ${PREFIX} --- games/nethack36/Makefile | 1 + games/nethack36/files/patch-include-config.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 /*