Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2019 14:42:42 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500110 - in head/games/nethack36: . files
Message-ID:  <201904261442.x3QEgg7P028347@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glewis
Date: Fri Apr 26 14:42:42 2019
New Revision: 500110
URL: https://svnweb.freebsd.org/changeset/ports/500110

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

Modified:
  head/games/nethack36/Makefile
  head/games/nethack36/files/patch-include-config.h

Modified: head/games/nethack36/Makefile
==============================================================================
--- head/games/nethack36/Makefile	Fri Apr 26 14:33:53 2019	(r500109)
+++ head/games/nethack36/Makefile	Fri Apr 26 14:42:42 2019	(r500110)
@@ -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

Modified: head/games/nethack36/files/patch-include-config.h
==============================================================================
--- head/games/nethack36/files/patch-include-config.h	Fri Apr 26 14:33:53 2019	(r500109)
+++ head/games/nethack36/files/patch-include-config.h	Fri Apr 26 14:42:42 2019	(r500110)
@@ -21,7 +21,7 @@
   */
  #ifndef HACKDIR
 -#define HACKDIR "/usr/games/lib/nethackdir"
-+#define HACKDIR "/usr/local/share/nethack"
++#define HACKDIR "%%PREFIX%%/share/nethack"
  #endif
  
  /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904261442.x3QEgg7P028347>