View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/app-games/nethack/nethack-3.4.1.ebuild (-1 / +2 lines)
 Lines 31-36    Link Here 
	cd ${S}
	cd ${S}
	epatch ${FILESDIR}/${P}-errno.patch
	epatch ${FILESDIR}/${P}-errno.patch
	epatch ${FILESDIR}/${P}-gnome.patch
	# This copies the /sys/unix Makefile.*s to their correct places for 
	# This copies the /sys/unix Makefile.*s to their correct places for 
	# seding and compiling.
	# seding and compiling.
 Lines 121-127    Link Here 
			sed -e 's:^\(WINSRC = .*\):\1 $(WINGNOMESRC):' \
			sed -e 's:^\(WINSRC = .*\):\1 $(WINGNOMESRC):' \
				-e 's:^\(WINOBJ = .*\):\1 $(WINGNOMEOBJ):' \
				-e 's:^\(WINOBJ = .*\):\1 $(WINGNOMEOBJ):' \
				-e 's:^\(WINLIB = .*\):\1 $(WINGNOMELIB):' \
				-e 's:^\(WINLIB = .*\):\1 $(WINGNOMELIB):' \
				-e 's:\(.*gnyesno.o\) tile.o\(.*\):\1\2:' \
				-e 's:\(.*gnworn.o\) tile.o\(.*\):\1\2:' \
				-e "s:^\(GNOMEINC=.*\):\1 `gnome-config --cflags gnomeui`:" \
				-e "s:^\(GNOMEINC=.*\):\1 `gnome-config --cflags gnomeui`:" \
				Makefile.orig >Makefile || die "Patching src/Makefile for gnome failed"
				Makefile.orig >Makefile || die "Patching src/Makefile for gnome failed"
			rm Makefile.orig
			rm Makefile.orig