mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
98cee0048d
PR: ports/47604 Submitted by: Joseph Scott <joseph@randomnetworks.com> (maintainer)
34 lines
979 B
Plaintext
34 lines
979 B
Plaintext
--- Makefile.orig Tue Jan 28 13:03:48 2003
|
|
+++ Makefile Tue Jan 28 13:04:35 2003
|
|
@@ -1,23 +1,23 @@
|
|
#configureable stuff
|
|
-PREFIX ?= /usr/local
|
|
-BINDIR ?= $(PREFIX)/bin
|
|
-MANDIR ?= $(PREFIX)/share/man/man1
|
|
-LIBDIR ?= $(PREFIX)/lib/sendip
|
|
+#PREFIX ?= /usr/local
|
|
+BINDIR=${PREFIX}/bin
|
|
+MANDIR=${PREFIX}/man/man1
|
|
+LIBDIR=${PREFIX}/lib/sendip
|
|
#For most systems, this works
|
|
-INSTALL ?= install
|
|
+INSTALL?=install
|
|
#For Solaris, you may need
|
|
#INSTALL=/usr/ucb/install
|
|
|
|
CFLAGS= -fPIC -fsigned-char -pipe -Wall -Wpointer-arith -Wwrite-strings \
|
|
-Wstrict-prototypes -Wnested-externs -Winline -Werror -g -Wcast-align \
|
|
- -DSENDIP_LIBS=\"$(LIBDIR)\"
|
|
+ -DSENDIP_LIBS=\"${LIBDIR}\"
|
|
#-Wcast-align causes problems on solaris, but not serious ones
|
|
LDFLAGS= -g -rdynamic -lm
|
|
#LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm
|
|
LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm -ldl
|
|
LDFLAGS_LINUX= -g -rdynamic -ldl -lm
|
|
LIBCFLAGS= -shared
|
|
-CC= gcc
|
|
+#CC= gcc
|
|
|
|
PROGS= sendip
|
|
BASEPROTOS= ipv4.so ipv6.so
|