aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exim
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-06-11 18:26:21 +0800
committersheldonh <sheldonh@FreeBSD.org>2001-06-11 18:26:21 +0800
commit80bccdf2ec4a716676ae41aa73baaf47ac759606 (patch)
treef9414d39eb9bba2afef29be796e8e90f73cc2c73 /mail/exim
parentda4419270be73cca13943d5d95a73ca42bf07692 (diff)
downloadfreebsd-ports-gnome-80bccdf2ec4a716676ae41aa73baaf47ac759606.tar.gz
freebsd-ports-gnome-80bccdf2ec4a716676ae41aa73baaf47ac759606.tar.zst
freebsd-ports-gnome-80bccdf2ec4a716676ae41aa73baaf47ac759606.zip
Strip binaries.
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/files/patch-OS::Makefile-Base72
-rw-r--r--mail/exim/files/patch-OS::Makefile-FreeBSD10
2 files changed, 82 insertions, 0 deletions
diff --git a/mail/exim/files/patch-OS::Makefile-Base b/mail/exim/files/patch-OS::Makefile-Base
new file mode 100644
index 000000000000..064a54f95be2
--- /dev/null
+++ b/mail/exim/files/patch-OS::Makefile-Base
@@ -0,0 +1,72 @@
+--- OS/Makefile-Base.orig Mon Jun 11 11:52:54 2001
++++ OS/Makefile-Base Mon Jun 11 12:04:56 2001
+@@ -216,6 +216,9 @@
+ auths/auths.a \
+ $(LIBS) $(LIBS_EXIM) $(IPV6_LIBS) $(EXTRALIBS) $(EXTRALIBS_EXIM) \
+ $(DBMLIB) $(LIBRESOLV) $(LOOKUP_LIBS) $(PERL_LIBS) $(TLS_LIBS)
++ if [ x"$(STRIP_COMMAND)" != x"" ]; then \
++ $(STRIP_COMMAND) exim; \
++ fi
+ $(EXIM_CHMOD)
+ @echo " "
+ @echo ">>> exim binary built"
+@@ -228,6 +231,9 @@
+ exim_fixdb: $(OBJ_FIXDB)
+ $(CC) $(CFLAGS) $(INCLUDE) -o exim_fixdb $(LFLAGS) $(OBJ_FIXDB) \
+ $(LIBS) $(EXTRALIBS) $(DBMLIB)
++ if [ x"$(STRIP_COMMAND)" != x"" ]; then \
++ $(STRIP_COMMAND) exim_fixdb; \
++ fi
+ @echo " "
+ @echo ">>> exim_fixdb utility built"
+ @echo " "
+@@ -239,6 +245,9 @@
+ exim_dumpdb: $(OBJ_DUMPDB)
+ $(CC) $(CFLAGS) $(INCLUDE) -o exim_dumpdb $(LFLAGS) $(OBJ_DUMPDB) \
+ $(LIBS) $(EXTRALIBS) $(DBMLIB)
++ if [ x"$(STRIP_COMMAND)" != x"" ]; then \
++ $(STRIP_COMMAND) exim_dumpdb; \
++ fi
+ @echo " "
+ @echo ">>> exim_dumpdb utility built"
+ @echo " "
+@@ -250,6 +259,9 @@
+ exim_tidydb: $(OBJ_TIDYDB)
+ $(CC) $(CFLAGS) $(INCLUDE) -o exim_tidydb $(LFLAGS) $(OBJ_TIDYDB) \
+ $(LIBS) $(EXTRALIBS) $(DBMLIB)
++ if [ x"$(STRIP_COMMAND)" != x"" ]; then \
++ $(STRIP_COMMAND) exim_tidydb; \
++ fi
+ @echo " "
+ @echo ">>> exim_tidydb utility built"
+ @echo " "
+@@ -259,6 +271,9 @@
+ exim_dbmbuild: exim_dbmbuild.c config.h
+ $(CC) $(CFLAGS) $(INCLUDE) -o exim_dbmbuild $(LFLAGS) exim_dbmbuild.c \
+ $(LIBS) $(EXTRALIBS) $(DBMLIB)
++ if [ x"$(STRIP_COMMAND)" != x"" ]; then \
++ $(STRIP_COMMAND) exim_dbmbuild; \
++ fi
+ @echo " "
+ @echo ">>> exim_dbmbuild utility built"
+ @echo " "
+@@ -268,6 +283,9 @@
+ exim_lock: exim_lock.c
+ $(CC) $(CFLAGS) $(INCLUDE) -o exim_lock $(LFLAGS) exim_lock.c \
+ $(LIBS) $(EXTRALIBS)
++ if [ x"$(STRIP_COMMAND)" != x"" ]; then \
++ $(STRIP_COMMAND) exim_lock; \
++ fi
+ @echo " "
+ @echo ">>> exim_lock utility built"
+ @echo " "
+@@ -290,6 +308,9 @@
+ $(PURIFY) $(CC) -o eximon.bin em_version.o $(LFLAGS) $(XLFLAGS) \
+ $(OBJ_MONBIN) -lXaw -lXmu -lXt -lXext -lX11 pcre/libpcre.a \
+ $(LIBS) $(LIBS_EXIMON) $(EXTRALIBS) $(EXTRALIBS_EXIMON) -lc
++ if [ x"$(STRIP_COMMAND)" != x"" ]; then \
++ $(STRIP_COMMAND) eximon.bin; \
++ fi
+ @echo " "
+ @echo ">>> exim monitor binary built"
+ @echo " "
diff --git a/mail/exim/files/patch-OS::Makefile-FreeBSD b/mail/exim/files/patch-OS::Makefile-FreeBSD
new file mode 100644
index 000000000000..58f6355e13d8
--- /dev/null
+++ b/mail/exim/files/patch-OS::Makefile-FreeBSD
@@ -0,0 +1,10 @@
+--- OS/Makefile-FreeBSD.orig Mon Jun 11 12:04:05 2001
++++ OS/Makefile-FreeBSD Mon Jun 11 12:04:33 2001
+@@ -5,6 +5,7 @@
+ PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
+
+ CHOWN_COMMAND=/usr/sbin/chown
++STRIP_COMMAND=/usr/bin/strip
+
+ HAVE_SA_LEN=YES
+