mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
3e4ed01146
- 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)
31 lines
790 B
Plaintext
31 lines
790 B
Plaintext
--- Makefile.orig Tue Jan 15 17:54:38 2002
|
|
+++ Makefile Tue Jan 15 17:56:37 2002
|
|
@@ -1,8 +1,6 @@
|
|
-CC = g++
|
|
-CFLAGS = -O2 -Wall
|
|
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
|
|
+INCDIR = -I${LOCALBASE}/include
|
|
DESTDIR= /usr/X11R6
|
|
-LIBDIR = -L/usr/X11R6/lib
|
|
+LIBDIR = -L${LOCALBASE}/lib
|
|
# for linux
|
|
LIBS = -lXpm -lX11 -lXext -lm
|
|
# for Solaris
|
|
@@ -19,14 +17,14 @@
|
|
RiseSet.o \
|
|
Vsop.o
|
|
.c.o:
|
|
- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
|
|
+ $(CXX) $(CXXFLAGS) -c $< -o $*.o $(INCDIR)
|
|
|
|
|
|
all: wmSolar.o wmSolar
|
|
|
|
wmSolar.o: wmSolar_master.xpm wmSolar_mask.xbm
|
|
wmSolar: $(OBJS)
|
|
- $(CC) $(CFLAGS) $(SYSTEM) -o wmSolar $^ $(INCDIR) $(LIBDIR) $(LIBS)
|
|
+ $(CXX) $(CXXFLAGS) -o wmSolar $^ $(INCDIR) $(LIBDIR) $(LIBS)
|
|
|
|
clean:
|
|
for i in $(OBJS) ; do \
|