summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-07-21 20:23:00 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-07-21 20:23:00 +0000
commitc1b840b3904f6baa8710133fc18792a87ad30726 (patch)
treeeee605556e612e10b040c712f1b1df0945dfaffc /graphics
parentFix build with gcc3.1 (-CURRENT). (diff)
Catch up to the new bsd.lib.mk API (the library is not internal).
Notes
Notes: svn path=/head/; revision=63335
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gdtclft/files/Makefile.bsd8
-rw-r--r--graphics/libimg/files/Makefile.bsd10
2 files changed, 4 insertions, 14 deletions
diff --git a/graphics/gdtclft/files/Makefile.bsd b/graphics/gdtclft/files/Makefile.bsd
index 1e6980b97f8f..608b464a1f87 100644
--- a/graphics/gdtclft/files/Makefile.bsd
+++ b/graphics/gdtclft/files/Makefile.bsd
@@ -1,8 +1,6 @@
PACKAGE = Gdtclft
VERSION = 2.2
-LIB = ${PACKAGE}2
-SHLIB_MAJOR = 2
-SHLIB_MINOR = 1
+SHLIB_NAME = lib${PACKAGE}2.so.2
SRCS = gdhandle.c gdCmd.c
@@ -25,9 +23,7 @@ CFLAGS +=-I${PREFIX}/include/tcl${TCL_VER} -I${PREFIX}/include/gd
CFLAGS +=-DNDEBUG -Wall -I. -DUSE_TCL_STUBS -I${PREFIX}/include
CFLAGS +=-DVERSION=\"${VERSION}\"
-INTERNALLIB = don't build the useless static version
-
-all: ${SHLIB_NAME} pkgIndex.tcl
+all: pkgIndex.tcl
pkgIndex.tcl:
echo 'package ifneeded $(PACKAGE) $(VERSION) [list load [file join $$dir $(SHLIB_NAME)] $(PACKAGE)]' > pkgIndex.tcl
diff --git a/graphics/libimg/files/Makefile.bsd b/graphics/libimg/files/Makefile.bsd
index 2456cab659b3..d75c315fda41 100644
--- a/graphics/libimg/files/Makefile.bsd
+++ b/graphics/libimg/files/Makefile.bsd
@@ -1,13 +1,10 @@
-LIB= img
+SHLIB_NAME= libimg.so.1
PORTVERSION?= 1.2.4
LOCALBASE?= /usr/local
X11BASE?= /usr/X11R6
TCL_VER?= 8.3
-SHLIB_MAJOR= 1
-SHLIB_MINOR= 2
-
.if exists(${LOCALBASE}/lib/tk${TCL_VER}/tkConfig.sh)
# If for some reason the file does not exist -- make the best guess. In
# reality, it will exist by the time we are actually doing the build, so
@@ -38,10 +35,7 @@ CFLAGS+= -DHAVE_JPEGLIB_H -DHAVE_TIFF_H -DHAVE_DLFCN_H -DHAVE_IMG_H
# libtiff itself does NOT install. -mi
CFLAGS+= -I${.CURDIR}/libtiff
-INTERNALLIB = don't build the useless static version
-NOPROFILE = don't build the profilable lib
-
-all: ${SHLIB_NAME} pkgIndex.tcl
+all: pkgIndex.tcl
pkgIndex.tcl: pkgIndex.tcl.in
sed -e 's,@IMG_PATCH_LEVEL@,${PORTVERSION},g' \