diff options
| author | Bruce M Simpson <bms@FreeBSD.org> | 2003-09-29 00:06:37 +0000 |
|---|---|---|
| committer | Bruce M Simpson <bms@FreeBSD.org> | 2003-09-29 00:06:37 +0000 |
| commit | 9e6dd4e54a28c497674e1069af554a4b65d05400 (patch) | |
| tree | 3e0f3d36a7cee828bc573ae0aa99853717bf23d2 /security/sectok/files/patch-Makefile | |
| parent | New port: security/libsectok (diff) | |
New port: security/sectok
PR: ports/39778
Notes
Notes:
svn path=/head/; revision=89731
Diffstat (limited to 'security/sectok/files/patch-Makefile')
| -rw-r--r-- | security/sectok/files/patch-Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/security/sectok/files/patch-Makefile b/security/sectok/files/patch-Makefile new file mode 100644 index 000000000000..b1867f2e4a06 --- /dev/null +++ b/security/sectok/files/patch-Makefile @@ -0,0 +1,41 @@ +--- Makefile.orig Thu Jan 3 21:16:01 2002 ++++ Makefile Mon Sep 29 01:00:21 2003 +@@ -1,13 +1,19 @@ + # Standard installation: +-INCLUDES= +-LIBS= -lsectok -lcrypto ++#INCLUDES= ++#LIBS= -lsectok -lcrypto ++ ++# FreeBSD ++#PREFIX?= ${PREFIX} ++#LOCALBASE?= ${LOCALBASE} ++INCLUDES= -I$(LOCALBASE)/include ++LIBS= -L$(LOCALBASE)/lib -lsectok -lcrypto + + # For building locally (libsectok not installed) + #INCLUDES= -I../libsectok + #LIBS= ../libsectok/libsectok.a -lcrypto + + # If crypto is included with openssl you might need this +-#INCLUDES= -I/usr/include/openssl ++INCLUDES+= -I${OPENSSLINC} + + # You shouldn't have to change anything below this line + +@@ -17,7 +23,6 @@ + CC= gcc + CFLAGS= -g -Wall + INSTALL= install +-PREFIX= /usr/local + RELEASE= sectok-`date "+%Y%m%d"` + + all : $(TARGETS) +@@ -30,6 +35,7 @@ + + install : + $(INSTALL) $(TARGETS) $(PREFIX)/bin ++ $(INSTALL) sectok.1 $(PREFIX)/man/man1 + + release : + rm -rf $(RELEASE) |
