diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-05-26 00:04:51 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-05-26 00:04:51 +0800 |
commit | 315e4a3300e3471674c8e97105c341f84cfde13d (patch) | |
tree | 79346f120edccd3e9fd329a1e01f5f155b8791b2 /russian | |
parent | 27e42cc097f353131152e6a18f536c99d0ec9aaf (diff) | |
download | freebsd-ports-gnome-315e4a3300e3471674c8e97105c341f84cfde13d.tar.gz freebsd-ports-gnome-315e4a3300e3471674c8e97105c341f84cfde13d.tar.zst freebsd-ports-gnome-315e4a3300e3471674c8e97105c341f84cfde13d.zip |
Fix a stupid patch breakage and unbreak port for gcc-2.95.
Reported by: bento
Diffstat (limited to 'russian')
-rw-r--r-- | russian/wmcyrx/Makefile | 8 | ||||
-rw-r--r-- | russian/wmcyrx/files/patch-aa | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/russian/wmcyrx/Makefile b/russian/wmcyrx/Makefile index 040ad749986d..f798a4303857 100644 --- a/russian/wmcyrx/Makefile +++ b/russian/wmcyrx/Makefile @@ -20,10 +20,16 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm NO_INSTALL_MANPAGES= yes +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 400012 +MAKE_ENV= COPT="-fpermissive" +.endif + post-extract: @ ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/cyrx2 ${PREFIX}/bin/wmcyrx2 -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/russian/wmcyrx/files/patch-aa b/russian/wmcyrx/files/patch-aa index 88acd68f84ce..19706df458a4 100644 --- a/russian/wmcyrx/files/patch-aa +++ b/russian/wmcyrx/files/patch-aa @@ -1,5 +1,5 @@ ---- /usr/ports/russian/wmcyrx/work/cyrx-2.1/Makefile.orig Thu Apr 29 00:17:54 1999 -+++ /usr/ports/russian/wmcyrx/work/cyrx-2.1/Makefile Fri Dec 10 09:28:17 1999 +--- Makefile.orig Wed Apr 28 18:17:54 1999 ++++ Makefile Thu May 25 18:58:23 2000 @@ -1,11 +1,11 @@ -I = -I/usr/openwin/include -I/usr/local/include @@ -8,7 +8,8 @@ -L = -L/usr/local/lib -L/usr/openwin/lib -L/usr/X11/lib -lXpm -lX11 -lXext +L = -L${LOCALBASE}/lib -L${X11BASE}/lib -L/usr/lib -lXpm -lX11 -lXext #CC = gcc -O $I -DXLIB_ILLEGAL_ACCESS - CC=CC -O $I -DXLIB_ILLEGAL_ACCESS +-CC=CC -O $I -DXLIB_ILLEGAL_ACCESS ++CC+= ${CFLAGS} ${COPT} $I -DXLIB_ILLEGAL_ACCESS -cyrx2: cyrx2.o cyrmapper.o +all: cyrx2.o cyrmapper.o |