summaryrefslogtreecommitdiff
blob: 280dd90eac3b02d1718eade7be8395a304f543a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Headers.

pkg_setup() {
	# We need to know which GUI we're building in several
	# different places, so work it out here.
	if use gtk ; then
		if use gtk2 ; then
			export mypkg_gui="gtk2"
		else
			export mypkg_gui="gtk1"
		fi
	elif use motif then
		export mypkg_gui="motif"
	else
		export mypkg_gui="athena"
	fi
}