freebsd-ports/editors/sam/files/patch-aa
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

68 lines
1.9 KiB
Text

*** libXg/Makefile.orig Fri Feb 11 11:04:17 2000
--- libXg/Makefile Fri Feb 11 11:07:47 2000
***************
*** 8,24 ****
#
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
# if your compiler supports posix-compatible compilation
! OS=-DIRIX -ansiposix
# add -Iincludedir for any include directories that need to be searched
! INCS=-I../include
# set this if your X libraries are in different locations
# or if you need extra libraries to load with X11 applications
! XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
# add name of library orderer - use ":" if none
! RANLIB=:
# add name of librarian
AR=ar
--- 8,24 ----
#
# Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
# if your compiler supports posix-compatible compilation
! OS=-DBSDi
# add -Iincludedir for any include directories that need to be searched
! INCS=-I../include -I${LOCALBASE}/include
# set this if your X libraries are in different locations
# or if you need extra libraries to load with X11 applications
! XLIBS=-lXt -lX11 -L${LOCALBASE}/lib
# add name of library orderer - use ":" if none
! RANLIB=ranlib
# add name of librarian
AR=ar
***************
*** 26,33 ****
# the name of the library
LIB=libXg.a
! CFLAGS=$(OS) -D_LIBXG_EXTENSION $(INCS)
! CC=cc
OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o\
circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o\
--- 26,33 ----
# the name of the library
LIB=libXg.a
! CFLAGS+=$(OS) -D_LIBXG_EXTENSION $(INCS)
! CC?=cc
OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o\
circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o\
***************
*** 50,56 ****
$(LIB): $(OBJS)
$(AR) rv $(LIB) $(OBJS)
$(RANLIB) $(LIB)
-
- $(LIB)(%.o): %.o
$(OBJS): ../include/libg.h libgint.h ../include/libc.h
--- 50,54 ----