freebsd-ports/sysutils/asapm/files/patch-configure
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

34 lines
1.3 KiB
Text

--- configure.orig Thu Nov 30 19:05:04 2006
+++ configure Thu Nov 30 19:04:44 2006
@@ -1289,6 +1289,7 @@
# Look for the header file in a standard set of common directories.
# Check X11 before X11Rn because it is often a symlink to the current release.
for ac_dir in \
+ ${LOCALBASE}/include \
/usr/X11/include \
/usr/X11R6/include \
/usr/X11R5/include \
@@ -1364,6 +1365,7 @@
# First see if replacing the include by lib works.
# Check X11 before X11Rn because it is often a symlink to the current release.
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
+ ${LOCALBASE}/lib \
/usr/X11/lib \
/usr/X11R6/lib \
/usr/X11R5/lib \
@@ -2289,6 +2291,7 @@
rm -rf conftest*
# Look for the header file in a standard set of common directories.
for ac_dir in \
+ ${LOCALBASE}/include \
/usr/X11/include \
/usr/X11R6/include \
/usr/X11R5/include \
@@ -2368,6 +2371,7 @@
# First see if replacing the include by lib works.
for ac_dir in \
`echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \
+ ${LOCALBASE}/lib \
/usr/X11/lib \
/usr/X11R6/lib \
/usr/X11R5/lib \