[maintainer-patch] x11-themes/gtk-industrial-theme - remove hard-coded paths

Fix hard-coded paths, as advised by Kris Kennaway.

PR:		ports/87852
Submitted by:	Frank Ruell <stoerte@dreamwarrior.net>
This commit is contained in:
Edwin Groothuis 2005-10-23 02:44:48 +00:00
parent 2312adb8f0
commit 729618417a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146164

View file

@ -3,28 +3,26 @@ CPP = cc -E
CXX = c++
CXXCPP = c++ -E
GDK_PIXBUF_CFLAGS = `$(GDK_PIXBUF_CONFIG) --cflags`
GDK_PIXBUF_CONFIG = /usr/X11R6/bin/gdk-pixbuf-config
GDK_PIXBUF_LIBS = `$(GDK_PIXBUF_CONFIG) --libs`
GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
GTK_CONFIG = /usr/X11R6/bin/gtk12-config
GTK_LIBS = `$(GTK_CONFIG) --libs`
LIBTOOL = libtool
LN_S = ln -s
INCLUDES = $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS)
libdir=/usr/X11R6/lib
enginedir = $(libdir)/gtk/themes/engines
XLIBDIR=$(X11BASE)/lib
LOCALLIBDIR=$(LOCALBASE)/lib
enginedir = $(XLIBDIR)/gtk/themes/engines
engine_LTLIBRARIES = libindustrial.la
libindustrial_la_LDFLAGS = -module -avoid-version
libindustrial_la_LIBADD = $(GTK_LIBS) $(GDK_PIXBUF_LIBS)
EXTRA_DIST = raleigh_dot.c
LTLIBRARIES = $(engine_LTLIBRARIES)
CPPFLAGS = -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE
CPPFLAGS = -I$(XLIBDIR) -I$(LOCALLIBDIR) -D_GETOPT_H -D_THREAD_SAFE
LDFLAGS =
LIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib
LIBS = -Wl,-export-dynamic -L$(XLIBDIR) -L$(LOCALLIBDIR)
libindustrial_la_DEPENDENCIES =
libindustrial_la_OBJECTS = industrial1_theme_main.lo \
industrial_style.lo
CFLAGS = -O2
CFLAGS ?= -O2
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)