Fixed hardcoded PACKAGE_DATA_DIR path.

This commit is contained in:
Blue Rats 2011-12-23 01:51:42 +00:00 committed by Thomas Klausner
parent c1da517783
commit b5cadfa5f8

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.3 2011/12/22 23:59:12 othyro Exp $
# $NetBSD: Makefile,v 1.4 2011/12/23 01:51:42 othyro Exp $
#
DISTNAME= pcsx-df-1.10
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcsx-df/}
@ -19,6 +19,12 @@ USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= intltool pkg-config
SUBST_CLASSES+= datadir
SUBST_STAGE.datadir= post-configure
SUBST_MESSAGE.datadir= Fixing hardcoded PACKAGE_DATA_DIR path
SUBST_FILES.datadir= gui/Config.c
SUBST_SED.datadir= -e 's,/usr/lib/games/psemu/,${PREFIX}/lib/games/psemu/,'
# obsolete
CONFIGURE_ARGS+= --disable-nautilusburn