diff options
author | pawel <pawel@FreeBSD.org> | 2014-06-01 22:02:15 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-06-01 22:02:15 +0800 |
commit | eac645a3178f6d3b099d533f521e7b7fd8001cab (patch) | |
tree | a419f1ea6ef83272f1a73b1ac0a6800fba4063f3 /lang/siod/files | |
parent | eda15c64b2a5fd71af2514bfd9148c2268b40487 (diff) | |
download | freebsd-ports-gnome-eac645a3178f6d3b099d533f521e7b7fd8001cab.tar.gz freebsd-ports-gnome-eac645a3178f6d3b099d533f521e7b7fd8001cab.tar.zst freebsd-ports-gnome-eac645a3178f6d3b099d533f521e7b7fd8001cab.zip |
- Add staging support, strip binaries
- Remove leading article from COMMENT
- Use canonical names for patches
Diffstat (limited to 'lang/siod/files')
-rw-r--r-- | lang/siod/files/patch-aa | 37 | ||||
-rw-r--r-- | lang/siod/files/patch-makefile | 79 | ||||
-rw-r--r-- | lang/siod/files/patch-regex.c (renamed from lang/siod/files/patch-ab) | 0 | ||||
-rw-r--r-- | lang/siod/files/patch-slibu.c (renamed from lang/siod/files/patch-ac) | 0 |
4 files changed, 79 insertions, 37 deletions
diff --git a/lang/siod/files/patch-aa b/lang/siod/files/patch-aa deleted file mode 100644 index e03746807030..000000000000 --- a/lang/siod/files/patch-aa +++ /dev/null @@ -1,37 +0,0 @@ ---- makefile-- Fri Feb 20 18:22:04 1998 -+++ makefile Wed Apr 28 13:02:03 1999 -@@ -19,10 +19,10 @@ - # - # - MANSEC=1 --MANDIR=$(IROOT)/usr/local/man/man$(MANSEC) --BINDIR=$(IROOT)/usr/local/bin --INCDIR=$(IROOT)/usr/local/include --LIBDIR=$(IROOT)/usr/local/lib -+MANDIR=$(PREFIX)/man/man$(MANSEC) -+BINDIR=$(PREFIX)/bin -+INCDIR=$(PREFIX)/include -+LIBDIR=$(PREFIX)/lib - LIBSIODDIR=$(LIBDIR)/siod - CP_F=cp -f - # -Wmissing-prototypes -@@ -270,6 +270,19 @@ - CFLAGS="$(CDEBUG)" \ - LD_EXE_LIBS="-lm -ldl" \ - build_driver -+ -+## FreeBSD, possibly other BSDs -+freebsd: -+ $(MAKE) \ -+ PROGS="siod tar.so parser_pratt.so ss.so \ -+ regex.so" \ -+ CFLAGS="$(CDEBUG) $(GCCW) -DHAVE_SYS_PARAM_H $(CFLAGS) -fPIC" \ -+ LD_LIB_LIBS="-lcrypt -lm" \ -+ LD_LIB_FLAGS="-shared" \ -+ LD_EXE_FLAGS="-rdynamic -Xlinker -rpath -Xlinker $(LIBDIR) -Xlinker -rpath -Xlinker $(LIBSIODDIR)" \ -+ SO="so" \ -+ build_driver -+ - - unknown: - -ln -s ssiod siod diff --git a/lang/siod/files/patch-makefile b/lang/siod/files/patch-makefile new file mode 100644 index 000000000000..b3ff3a4244ea --- /dev/null +++ b/lang/siod/files/patch-makefile @@ -0,0 +1,79 @@ +--- makefile.orig 2000-03-14 16:26:55.000000000 +0100 ++++ makefile 2014-06-01 15:48:40.620294169 +0200 +@@ -19,10 +19,10 @@ + # + # + MANSEC=1 +-MANDIR=$(IROOT)/usr/local/man/man$(MANSEC) +-BINDIR=$(IROOT)/usr/local/bin +-INCDIR=$(IROOT)/usr/local/include +-LIBDIR=$(IROOT)/usr/local/lib ++MANDIR=$(PREFIX)/man/man$(MANSEC) ++BINDIR=$(PREFIX)/bin ++INCDIR=$(PREFIX)/include ++LIBDIR=$(PREFIX)/lib + LIBSIODDIR=$(LIBDIR)/siod + CP_F=cp -f + # -Wmissing-prototypes +@@ -300,6 +300,19 @@ + LD_EXE_LIBS="-lm -ldl" \ + build_driver + ++## FreeBSD, possibly other BSDs ++freebsd: ++ $(MAKE) \ ++ PROGS="siod tar.so parser_pratt.so ss.so \ ++ regex.so" \ ++ CFLAGS="$(CDEBUG) $(GCCW) -DHAVE_SYS_PARAM_H $(CFLAGS) -fPIC" \ ++ LD_LIB_LIBS="-lcrypt -lm" \ ++ LD_LIB_FLAGS="-shared" \ ++ LD_EXE_FLAGS="-rdynamic -Xlinker -rpath -Xlinker $(LIBDIR) -Xlinker -rpath -Xlinker $(LIBSIODDIR)" \ ++ SO="so" \ ++ build_driver ++ ++ + unknown: + -ln -s ssiod siod + $(MAKE) \ +@@ -457,30 +470,30 @@ + install: $(DISTFILES) + @echo "Note: This does not do a build. Only installs what already" + @echo " sits in the directory." +- -mkdir -p $(MANDIR) +- -mkdir -p $(BINDIR) +- -mkdir -p $(LIBDIR) +- -mkdir -p $(INCDIR) +- -mkdir -p $(LIBSIODDIR) ++ -mkdir -p $(DESTDIR)$(MANDIR) ++ -mkdir -p $(DESTDIR)$(BINDIR) ++ -mkdir -p $(DESTDIR)$(LIBDIR) ++ -mkdir -p $(DESTDIR)$(INCDIR) ++ -mkdir -p $(DESTDIR)$(LIBSIODDIR) + -for X in $(INTO_BINDIR) ; do \ +- $(CP_F) $$X $(BINDIR) ;\ ++ $(CP_F) $$X $(DESTDIR)$(BINDIR) ;\ + done + -for X in $(LIBFILES) ; do \ +- $(CP_F) $$X $(LIBSIODDIR) ;\ ++ $(CP_F) $$X $(DESTDIR)$(LIBSIODDIR) ;\ + done + -for X in $(SOLIBFILES) ; do \ + for E in so sl ; do \ +- $(CP_F) $$X.$$E $(LIBSIODDIR) ;\ ++ $(BSD_INSTALL_LIB) $$X.$$E $(DESTDIR)$(LIBSIODDIR) ;\ + done ;\ + done + -for X in $(INTO_LIBDIR) ; do \ +- $(CP_F) $$X $(LIBDIR) ;\ ++ $(BSD_INSTALL_LIB) $$X $(DESTDIR)$(LIBDIR) ;\ + done + -for X in $(MANPAGES) ; do \ +- $(CP_F) $$X.man $(MANDIR)/$$X.$(MANSEC) ;\ ++ $(CP_F) $$X.man $(DESTDIR)$(MANDIR)/$$X.$(MANSEC) ;\ + done + -for X in $(PUBINCS) ; do \ +- $(CP_F) $$X $(INCDIR) ;\ ++ $(CP_F) $$X $(DESTDIR)$(INCDIR) ;\ + done + @echo "Install done." + diff --git a/lang/siod/files/patch-ab b/lang/siod/files/patch-regex.c index de4127a62ef9..de4127a62ef9 100644 --- a/lang/siod/files/patch-ab +++ b/lang/siod/files/patch-regex.c diff --git a/lang/siod/files/patch-ac b/lang/siod/files/patch-slibu.c index b0d5be2349c5..b0d5be2349c5 100644 --- a/lang/siod/files/patch-ac +++ b/lang/siod/files/patch-slibu.c |