1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Update to version 1.12

PR:		ports/19525
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
Neil Blakey-Milner 2000-06-30 11:52:15 +00:00
parent a236a6a98a
commit c0aa6b20c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30018
4 changed files with 59 additions and 32 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= endeavour
PORTVERSION= 1.07
PORTVERSION= 1.12
CATEGORIES= x11-fm
MASTER_SITES= ftp://fox.mit.edu/pub/xsw/
DISTNAME= ${PORTNAME}${PORTVERSION}
@ -17,10 +17,11 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib \
Xpm.4:${PORTSDIR}/graphics/xpm
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/endeavour
USE_X_PREFIX= yes
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/endeavour ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/endeavour ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (endeavour1.07.tgz) = fdcff6ccf3f23dca7566eead5615763d
MD5 (endeavour1.12.tgz) = ba229b1a96fc97a3d5a88a224c654389

View File

@ -1,41 +1,57 @@
--- Makefile.orig Thu Oct 7 01:19:46 1999
+++ Makefile Thu Oct 7 13:52:49 1999
@@ -15,9 +15,9 @@
# ########################################################################
# Libraries:
--- Makefile.orig Tue Feb 1 19:02:33 2000
+++ Makefile Wed Jun 21 21:09:33 2000
@@ -18,7 +18,7 @@
# You may modify any value as needed. Change only the ones you are
# absolutly sure that requires modification.
#
-INC = -I/usr/include
-LIB = -lImlib -lpng -ltiff -lgif -ljpeg -lXpm -lXext -lX11 -lz -lm
-LIB_DIR = -L/usr/X11/lib
+INC = -I/usr/local/include -I/usr/X11R6/include
+LIB = `imlib-config --libs` -lXpm
+LIB_DIR = -L/usr/X11R6/lib -L/usr/local/lib
-PREFIX = /usr
+PREFIX ?= /usr
# ########################################################################
@@ -37,14 +37,14 @@
# internal viewing of many graphics
# formats.
@@ -57,8 +57,7 @@
# this option unless you are attempting
# to debug the program.
#
-CFLAGS = -O2 -DUSE_XSHM -DUSE_IMLIB -D__USE_BSD -funroll-loops
+CFLAGS += -DUSE_XSHM -DUSE_IMLIB -D__USE_BSD -funroll-loops
-CFLAGS = -D__USE_BSD -DUSE_XSHM -DUSE_IMLIB \
- -O2
+CFLAGS += -D__USE_BSD -DUSE_XSHM -DUSE_IMLIB
# ########################################################################
# Program source and header files:
@@ -72,7 +71,7 @@
# to the LIB line depending on what you have set in the CFLAGS line
# farther above.
#
-LIB = -lm -lImlib -lpng -ltiff -lgif -ljpeg -lX11 -lXpm -lXext -lz
+LIB = `imlib-config --libs` -lXpm
# If you do not have Imlib, comment the above line and uncomment this line.
#LIB = -lm -lX11 -lXpm -lXext
@@ -83,7 +82,7 @@
# Each argument is of the format -L<dir> where <dir> is the full
# path to the directory.
#
-LIB_DIR = -L/usr/X11R6/lib
+LIB_DIR =
# Header File Directories:
#
@@ -93,7 +92,7 @@
# Each argument is of the format -I<dir> where <dir> is the full
# path to the directory.
#
-INC = -I/usr/include
+INC = `imlib-config --cflags`
# ########################################################################
@@ -101,7 +100,7 @@
#
include Makefile.srclist
-CC = gcc
+CC ?= gcc
BIN = endeavour
SRC = comfdialog.c cursor.c devrec.c dither.c disk.c drag.c edwalloc.c \
edwcb.c edwevent.c edwlist.c edwmacros.c edwselect.c fass.c \
@@ -79,7 +79,7 @@
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
-DIR_XBIN = /usr/X11/bin
+DIR_XBIN = /usr/X11R6/bin
# ########################################################################
OBJ = $(SRC:.c=.o)
.c.o:

View File

@ -0,0 +1,10 @@
--- fio.c.orig Tue Feb 1 19:02:34 2000
+++ fio.c Wed Jun 21 21:17:15 2000
@@ -16,7 +16,6 @@
*/
#include <stdio.h>
-#include <malloc.h>
#include <string.h>
#include "../include/fio.h"