svn commit: r500110 - in head/games/nethack36: . files

Greg Lewis glewis at FreeBSD.org
Fri Apr 26 14:42:43 UTC 2019


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
  
  /*


More information about the svn-ports-all mailing list