mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Use Motif if HAVE_MOTIF and MOTIFLIB are defined (/etc/make.conf).
default it to build the xview version.
This commit is contained in:
parent
abc3a05580
commit
4e0ef0f618
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4587
@ -14,7 +14,9 @@ DISTFILES= imaze1.3.tar.Z imaze.tar
|
||||
|
||||
MAINTAINER= kuehn@rz.tu-clausthal.de
|
||||
|
||||
.if !defined(HAVE_MOTIF) && !defined(MOTIFLIB)
|
||||
LIB_DEPENDS= xview\\.3\\.2:${PORTSDIR}/x11/xview-lib
|
||||
.endif
|
||||
|
||||
EXTRACT_ONLY= imaze1.3.tar.Z
|
||||
NO_CONFIGURE= yes
|
||||
|
@ -1,7 +1,12 @@
|
||||
*** source/Makefile.new Fri Apr 12 07:10:57 1996
|
||||
--- source/Makefile Thu Feb 22 23:01:18 1996
|
||||
*** source/Makefile.orig Thu Feb 22 23:01:18 1996
|
||||
--- source/Makefile Tue Nov 19 11:45:31 1996
|
||||
***************
|
||||
*** 116,122 ****
|
||||
*** 111,123 ****
|
||||
all
|
||||
|
||||
freebsd:
|
||||
$(MAKE) \
|
||||
OPENWINHOME='/usr/X11R6' \
|
||||
GRAFLIBS='$$(XVLIBS)' \
|
||||
GRAFINCLUDES='$$(XVINCLUDES)' \
|
||||
GRAFOBJS='$$(XVOBJS)' \
|
||||
@ -9,12 +14,47 @@
|
||||
all
|
||||
|
||||
irix:
|
||||
--- 116,123 ----
|
||||
$(MAKE) \
|
||||
--- 111,135 ----
|
||||
all
|
||||
|
||||
freebsd:
|
||||
+ .if defined(HAVE_MOTIF)
|
||||
+ $(MAKE) \
|
||||
+ GRAF=MOTIF \
|
||||
+ GRAFLIBS='$$(MOTIFLIB) $$(MOTIFLIBS)' \
|
||||
+ GRAFINCLUDES='-I$$(X11BASE)/include' \
|
||||
+ GRAFOBJS='$$(MOTIFOBJS)' \
|
||||
+ SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND \
|
||||
+ -DDEFAULT_SOUND_DIR=\"$(SOUNDDIR)\" -DJOYSTICK' \
|
||||
+ all
|
||||
+ .else
|
||||
$(MAKE) \
|
||||
OPENWINHOME='/usr/X11R6' \
|
||||
GRAFLIBS='$$(XVLIBS)' \
|
||||
GRAFINCLUDES='$$(XVINCLUDES)' \
|
||||
GRAFOBJS='$$(XVOBJS)' \
|
||||
! SYSDEFS='-DDONT_DECLARE_ERRLIST -DSOUND \
|
||||
! -DDEFAULT_SOUND_DIR=\"$(SOUNDDIR)\" -DJOYSTICK' \
|
||||
all
|
||||
+ .endif
|
||||
|
||||
irix:
|
||||
$(MAKE) \
|
||||
***************
|
||||
*** 143,149 ****
|
||||
XVLIBS=-L$(OPENWINHOME)/lib -lxview -lolgx -lX11
|
||||
XVINCLUDES=-I$(OPENWINHOME)/include
|
||||
|
||||
! MOTIFLIBS=-lXm -lXt -lX11
|
||||
MOTIFINCLUDES=
|
||||
|
||||
GRAFLIBS=$($(GRAF)LIBS)
|
||||
--- 155,161 ----
|
||||
XVLIBS=-L$(OPENWINHOME)/lib -lxview -lolgx -lX11
|
||||
XVINCLUDES=-I$(OPENWINHOME)/include
|
||||
|
||||
! MOTIFLIBS=-lXt -lX11
|
||||
MOTIFINCLUDES=
|
||||
|
||||
GRAFLIBS=$($(GRAF)LIBS)
|
||||
|
Loading…
Reference in New Issue
Block a user