forked from Lainports/freebsd-ports
- added a man-page - installing additional docs - fixed installing with 0666 - sample start script now works and actually contains an usefull example - fixed install target - added a comment (in pkg-message) about ESP "Protocol not supported" PR: 60364 Submitted by: maintainer
21 lines
735 B
Text
21 lines
735 B
Text
--- Makefile.orig Sun Nov 2 01:21:39 2003
|
|
+++ Makefile Wed Dec 17 09:56:14 2003
|
|
@@ -15,14 +15,14 @@
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
-CC=gcc
|
|
-CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
|
|
-LDFLAGS=-g $(shell libgcrypt-config --libs)
|
|
+CC=%%CC%%
|
|
+CFLAGS=-W -Wall %%CFLAGS%% '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
|
|
+LDFLAGS=$(shell libgcrypt-config --libs)
|
|
|
|
ifeq ($(shell uname -s), Linux)
|
|
SYSDEP=sysdep-linux.o
|
|
endif
|
|
-ifeq ($(shell uname -s), NetBSD)
|
|
+ifeq ($(shell uname -s), FreeBSD)
|
|
CFLAGS += -DSOCKADDR_IN_SIN_LEN
|
|
SYSDEP=sysdep-bsd.o
|
|
endif
|