diff options
author | garbled <garbled@pkgsrc.org> | 1999-07-22 09:14:55 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1999-07-22 09:14:55 +0000 |
commit | e2c9c8b0e265d947e044a3aa1bd033c237af0d9f (patch) | |
tree | b959b973b1579668b12dba13b561dc7e33697c6e /graphics/openptc/patches | |
parent | cf14397b57852053df3a03ebc6cf364b9cc7593c (diff) | |
download | pkgsrc-e2c9c8b0e265d947e044a3aa1bd033c237af0d9f.tar.gz |
OpenPTC-X11-1.0.0-2
Prometheus Truecolour for X11
Diffstat (limited to 'graphics/openptc/patches')
-rw-r--r-- | graphics/openptc/patches/patch-aa | 44 | ||||
-rw-r--r-- | graphics/openptc/patches/patch-ab | 29 |
2 files changed, 73 insertions, 0 deletions
diff --git a/graphics/openptc/patches/patch-aa b/graphics/openptc/patches/patch-aa new file mode 100644 index 00000000000..9ba304cd65f --- /dev/null +++ b/graphics/openptc/patches/patch-aa @@ -0,0 +1,44 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/07/22 09:14:55 garbled Exp $ +--- configure.orig Wed Mar 31 16:43:45 1999 ++++ configure Thu Jul 22 01:34:25 1999 +@@ -528,9 +528,9 @@ + + + +-PTCVERSION="1.0.0" ++PTCVERSION="1.0" + PTCFLAGS=$CXXFLAGS +-PTCLIBS="-lX11 -lXext" ++PTCLIBS="-lX11 -lXext $LDFLAGS" + SAVELIBS="" + + +@@ -1950,7 +1950,7 @@ + #include "confdefs.h" + #include <$ac_hdr> + EOF +-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ++ac_try="$ac_cpp -I$LOCALBASE/include conftest.$ac_ext >/dev/null 2>conftest.out" + { (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then +@@ -2019,9 +2019,6 @@ + + echo + echo "Do you want to build a dynamic library too ? (y/n) " +-read PTC_DYN_JN +- +-if test $PTC_DYN_JN = "y"; then + echo "Building dynamic library". + PTC_DYN="dynamic" + +@@ -2042,9 +2039,6 @@ + # else + # echo "Skippping Java support." + # fi +-else +- echo "No dynamic library will be built." +-fi + + + diff --git a/graphics/openptc/patches/patch-ab b/graphics/openptc/patches/patch-ab new file mode 100644 index 00000000000..26b16222ab8 --- /dev/null +++ b/graphics/openptc/patches/patch-ab @@ -0,0 +1,29 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/07/22 09:14:55 garbled Exp $ +--- Makefile.in.orig Wed Mar 31 16:44:04 1999 ++++ Makefile.in Thu Jul 22 01:57:53 1999 +@@ -54,19 +54,19 @@ + install -d $(prefix)/include/ptc/X11 + install -d $(exec_prefix)/lib + install -d $(exec_prefix)/bin +- install -m 0644 source/ptc.h $(prefix)/include/ptc ++ install -c -m 0644 source/ptc.h $(prefix)/include/ptc + for incfile in $(CORE_HEADER_FILES); do \ +- install -m 0644 source/Core/$$incfile $(prefix)/include/ptc/Core; \ ++ install -c -m 0644 source/Core/$$incfile $(prefix)/include/ptc/Core; \ + done + for incfile in $(X11_HEADER_FILES); do \ +- install -m 0644 source/X11/$$incfile $(prefix)/include/ptc/X11; \ ++ install -c -m 0644 source/X11/$$incfile $(prefix)/include/ptc/X11; \ + done +- install -m 0644 $(PTC_LIBRARY_PATH)/$(PTC_LIBRARY_NAME) $(exec_prefix)/lib ++ install -c -m 0644 $(PTC_LIBRARY_PATH)/$(PTC_LIBRARY_NAME) $(exec_prefix)/lib + @cd $(exec_prefix)/lib ; ln -sf $(PTC_LIBRARY_NAME) libptc.a +- install -m 0755 ptc-config $(exec_prefix)/bin ++ install -c -m 0755 ptc-config $(exec_prefix)/bin + chmod 755 $(exec_prefix)/bin/ptc-config + if test -e library/$(PTC_LIBRARY_DYN); then \ +- install -m 0755 library/$(PTC_LIBRARY_DYN) $(exec_prefix)/lib; \ ++ install -c -m 0755 library/$(PTC_LIBRARY_DYN) $(exec_prefix)/lib; \ + cd $(exec_prefix)/lib ; ln -sf $(PTC_LIBRARY_DYN) libptc.so ; \ + fi + |