ports/net/openser/files/patch-Makefile.defs
Johan van Selst 8a942f389f - Update to version 1.0.1
- Respect CFLAGS

PR:             94108
Submitted by:   jesusr (maintainer)
Approved by:    flz (mentor)
2006-06-22 14:08:48 +00:00

34 lines
1.1 KiB
Text

--- Makefile.defs.orig Wed Mar 15 12:38:03 2006
+++ Makefile.defs Wed Mar 15 13:19:16 2006
@@ -167,13 +167,13 @@
TAR ?= tar
endif
-INSTALL-TOUCH = touch # used to create the file first (good to
- # make solaris install work)
-INSTALL-CFG = $(INSTALL) -m 644
-INSTALL-BIN = $(INSTALL) -m 755
-INSTALL-MODULES = $(INSTALL) -m 755
-INSTALL-DOC = $(INSTALL) -m 644
-INSTALL-MAN = $(INSTALL) -m 644
+INSTALL-TOUCH = : # used to create the file first (good to
+ # make solaris install work)
+INSTALL-CFG = $(BSD_INSTALL_DATA)
+INSTALL-BIN = $(BSD_INSTALL_PROGRAM)
+INSTALL-MODULES = $(BSD_INSTALL_PROGRAM)
+INSTALL-DOC = $(BSD_INSTALL_DATA)
+INSTALL-MAN = $(BSD_INSTALL_MAN)
#set some vars from the environment (and not make builtins)
CC := $(shell echo "$${CC}")
@@ -1123,8 +1123,8 @@
#add libssl if needed
ifneq ($(TLS),)
-DEFS+= -I$(LOCALBASE)/ssl/include
-LIBS+= -L$(LOCALBASE)/lib -L$(LOCALBASE)/ssl/lib -lssl -lcrypto
+DEFS+= -I$(OPENSSLINC)
+LIBS+= -L$(OPENSSLLIB) -lssl -lcrypto
endif
ifneq ($(found_lock_method), yes)