summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-07-16 03:49:20 +0800
committerzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-07-16 03:49:20 +0800
commitd36748645d9e21fecb27d3111d84ea455d9906bf (patch)
tree188280c2c264e372e197cb3f9e169287065b4292
parent97f56d43a2b4a9669b6602b6603ac6cc09265481 (diff)
downloadxorg-devel-ports-d36748645d9e21fecb27d3111d84ea455d9906bf.tar
xorg-devel-ports-d36748645d9e21fecb27d3111d84ea455d9906bf.tar.gz
xorg-devel-ports-d36748645d9e21fecb27d3111d84ea455d9906bf.tar.bz2
xorg-devel-ports-d36748645d9e21fecb27d3111d84ea455d9906bf.tar.lz
xorg-devel-ports-d36748645d9e21fecb27d3111d84ea455d9906bf.tar.xz
xorg-devel-ports-d36748645d9e21fecb27d3111d84ea455d9906bf.tar.zst
xorg-devel-ports-d36748645d9e21fecb27d3111d84ea455d9906bf.zip
Sync with ports.
git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@1024 058c260c-8361-11dd-a0ac-aa2bafec7d09
-rw-r--r--Mk/bsd.port.mk26
1 files changed, 3 insertions, 23 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 3fc5503..fe4c48f 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -352,13 +352,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# Supported components are: glut, glu, glw, and gl.
# If set to "yes", this is equivalent to "glu". Note that
# glew and glut depend on glu, glw and glu depend on gl.
-# USE_MOTIF - If set, this port uses a Motif toolkit. Implies USE_XORG+= xpm
-# NO_OPENMOTIF - If set, this port uses a custom Motif toolkit
-# instead of Openmotif.
-# Used only when USE_MOTIF is set.
-# WANT_LESSTIF - If set, this port uses Lesstif as Motif toolkit.
-# Used only when USE_MOTIF is set. Implies
-# NO_OPENMOTIF.
##
# USE_SDL - If set, this port uses the sdl libraries.
# See bsd.sdl.mk for more information.
@@ -1901,17 +1894,6 @@ IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps
RUN_DEPENDS+= ${LINUX_BASE_PORT}
.endif
-.if defined(USE_MOTIF)
-USE_XORG+= xpm
-.if defined(WANT_LESSTIF)
-LIB_DEPENDS+= Xm:${PORTSDIR}/x11-toolkits/lesstif
-NO_OPENMOTIF= yes
-.endif
-.if !defined(NO_OPENMOTIF)
-LIB_DEPENDS+= Xm.4:${PORTSDIR}/x11-toolkits/open-motif
-.endif
-.endif
-
.if defined(USE_DISPLAY) && !defined(DISPLAY)
BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver \
${LOCALBASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${PORTSDIR}/x11-fonts/xorg-fonts-miscbitmaps \
@@ -2150,7 +2132,7 @@ MAKE_FLAGS?= -f
MAKEFILE?= Makefile
MAKE_ENV+= PREFIX=${PREFIX} \
LOCALBASE=${LOCALBASE} \
- MOTIFLIB="${MOTIFLIB}" LIBDIR="${LIBDIR}" \
+ LIBDIR="${LIBDIR}" \
CC="${CC}" CFLAGS="${CFLAGS}" \
CPP="${CPP}" CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
@@ -2406,8 +2388,6 @@ PKG_SUFX?= .tbz
# where pkg_add records its dirty deeds.
PKG_DBDIR?= /var/db/pkg
-MOTIFLIB?= -L${LOCALBASE}/lib -lXm -lXp
-
ALL_TARGET?= all
INSTALL_TARGET?= install
INSTALL_TARGET+= ${LATE_INSTALL_ARGS}
@@ -6104,14 +6084,14 @@ do-config:
(${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1); \
${ECHO_MSG} "===> Returning to user credentials"
.else
- @(optionsdir=${OPTIONS_FILE}; optionsdir=$${optionsdir%/*}; \
+ @optionsdir=${OPTIONS_FILE}; optionsdir=$${optionsdir%/*}; \
oldoptionsdir=${OPTIONSFILE}; oldoptionsdir=$${oldoptionsdir%/*}; \
if [ -d $${oldoptionsdir} -a ! -d $${optionsdir} ]; then \
${MV} $${oldoptionsdir} $${optionsdir}; \
elif [ -d $${oldoptionsdir} -a -d $${optionsdir} ]; then \
${RM} -rf $${oldoptionsdir} ; \
fi ; \
- ${MKDIR} $${optionsdir} 2> /dev/null) || \
+ ${MKDIR} $${optionsdir} 2> /dev/null || \
(${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1)
.endif
@TMPOPTIONSFILE=$$(mktemp -t portoptions); \