1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Update to 0.2

PR:		126102
Submitted by:	Julien Laffaye <kimelto@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2008-08-02 22:11:34 +00:00
parent 270ae13e20
commit 676d15a60f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217955
3 changed files with 18 additions and 19 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= sselp
PORTVERSION= 0.1
PORTVERSION= 0.2
CATEGORIES= x11
MASTER_SITES= http://code.suckless.org/dl/tools/ \
http://laffaye.free.fr/distfiles/

View File

@ -1,3 +1,3 @@
MD5 (sselp-0.1.tar.gz) = 5c0c98469fbf21649eb13e5ff878dafb
SHA256 (sselp-0.1.tar.gz) = 8f25b8d5cd62929618b8ba56d36f6d6556e4de1d1952f77aa160e087d3d79899
SIZE (sselp-0.1.tar.gz) = 2694
MD5 (sselp-0.2.tar.gz) = b74d6558790d8df897db40bca90bc0f6
SHA256 (sselp-0.2.tar.gz) = cd0f95ec0eb571a6dd3c48ba3aa931080eb33bc81805bd72832cc04c01b8b822
SIZE (sselp-0.2.tar.gz) = 2562

View File

@ -1,32 +1,31 @@
--- config.mk.orig 2008-07-19 13:20:31.000000000 +0200
+++ config.mk 2008-07-19 14:18:14.000000000 +0200
@@ -4,22 +4,22 @@
--- config.mk.orig 2008-07-30 19:11:59.000000000 +0200
+++ config.mk 2008-07-30 19:13:21.000000000 +0200
@@ -4,20 +4,20 @@
# Customize below to fit your system
# paths
-PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/share/man
+PREFIX ?= /usr/local
+MANPREFIX = ${PREFIX}/man
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
+X11INC = $(LOCALBASE)/include
+X11LIB = $(LOCALBASE)/lib
# includes and libs
INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
+CFLAGS += -Os ${INCS} -DVERSION=\"${VERSION}\"
+LDFLAGS += ${LIBS}
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = -g ${LIBS}
-CPPFLAGS = -DVERSION=\"${VERSION}\"
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -s ${LIBS}
+CPPFLAGS += -DVERSION=\"${VERSION}\"
+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+LDFLAGS += -s ${LIBS}
# compiler and linker
-CC = cc
+CC ?= cc
LD = ${CC}