Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Patches to Makefile.in need to be done before configure, not before

build.  s/pre-build/post-patch/ and suddenly this package no longer
installs binaries into games/ but in bin/, as expected by the PLIST.

Bump PKGREVISION to 1.

PKG_DEVELOPER=yes is your friend.
  • Loading branch information...
commit 0e678250ca255143c77a3b74d7769f9aaf04e2ab 1 parent 62a6ed4
snj authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 games/prboom/Makefile
5 games/prboom/Makefile
View
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2009/01/07 16:38:11 drochner Exp $
+# $NetBSD: Makefile,v 1.33 2009/09/27 15:48:59 snj Exp $
DISTNAME= prboom-2.5.0
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/}
@@ -16,7 +17,7 @@ CONFIGURE_ARGS+= --with-waddir=${PREFIX}/share/doom
#CONFIGURE_ARGS+= --enable-gl
SUBST_CLASSES+= gamesdir
-SUBST_STAGE.gamesdir= pre-build
+SUBST_STAGE.gamesdir= post-patch
SUBST_MESSAGE.gamesdir= Fixing hard-coded gamesdir
SUBST_FILES.gamesdir= src/Makefile.in
SUBST_SED.gamesdir+=-e '/^gamesdir =/ s;/games;/bin;g'
Please sign in to comment.
Something went wrong with that request. Please try again.