SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
44
editors/ee/patches/patch-create_make
Normal file
44
editors/ee/patches/patch-create_make
Normal file
|
@ -0,0 +1,44 @@
|
|||
--- create.make.orig Mon Sep 23 00:18:30 2002
|
||||
+++ create.make Fri Dec 6 10:02:58 2013
|
||||
@@ -11,6 +11,11 @@
|
||||
|
||||
name_string="`uname`"
|
||||
|
||||
+# where to read system-wide configuration from
|
||||
+
|
||||
+: ${SYSCONFDIR=/usr/local/lib}
|
||||
+SYSCONF="-DSYSCONFDIR=\"\\\"${SYSCONFDIR}\\\"\""
|
||||
+
|
||||
# test for existence of termcap (exists on both BSD and SysV systems)
|
||||
|
||||
if [ -f /etc/termcap -o -f /usr/share/lib/termcap -o -f /usr/share/misc/termcap ]
|
||||
@@ -257,7 +262,7 @@ then
|
||||
mv make.local make.lcl.old
|
||||
fi
|
||||
|
||||
-echo "DEFINES = $termio $terminfo_exists $BSD_SELECT $catgets $select $curses " > make.local
|
||||
+echo "DEFINES = $SYSCONF $termio $terminfo_exists $BSD_SELECT $catgets $select $curses " > make.local
|
||||
echo "" >> make.local
|
||||
echo "CFLAGS = $HAS_UNISTD $HAS_STDARG $HAS_STDLIB $HAS_CTYPE $HAS_SYS_IOCTL $HAS_SYS_WAIT $five_lib $five_include $select_hdr $other_cflags $termcap_exists" >> make.local
|
||||
echo "" >> make.local
|
||||
@@ -267,16 +272,16 @@ echo "all : $TARGET" >> make.local
|
||||
cat >> make.local << EOF
|
||||
|
||||
curses : ee.c
|
||||
- cc ee.c -o ee \$(CFLAGS) -lcurses
|
||||
+ \$(CC) ee.c -o ee \$(DEFINES) \$(CFLAGS) -lcurses
|
||||
|
||||
ee : ee.o new_curse.o
|
||||
- cc -o ee ee.o new_curse.o \$(CFLAGS)
|
||||
+ \$(CC) -o ee ee.o new_curse.o \$(CFLAGS)
|
||||
|
||||
ee.o : ee.c new_curse.h
|
||||
- cc -c ee.c \$(DEFINES) \$(CFLAGS)
|
||||
+ \$(CC) -c ee.c \$(DEFINES) \$(CFLAGS)
|
||||
|
||||
new_curse.o : new_curse.c new_curse.h
|
||||
- cc new_curse.c -c \$(DEFINES) \$(CFLAGS)
|
||||
+ \$(CC) new_curse.c -c \$(DEFINES) \$(CFLAGS)
|
||||
|
||||
EOF
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue