summaryrefslogtreecommitdiff
path: root/cad/magic
diff options
context:
space:
mode:
Diffstat (limited to 'cad/magic')
-rw-r--r--cad/magic/Makefile6
-rw-r--r--cad/magic/files/defs.mak4
2 files changed, 5 insertions, 5 deletions
diff --git a/cad/magic/Makefile b/cad/magic/Makefile
index 0055457f0539..5b0e758ddece 100644
--- a/cad/magic/Makefile
+++ b/cad/magic/Makefile
@@ -7,16 +7,16 @@
PORTNAME= magic
PORTVERSION= 7.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= cad
MASTER_SITES= http://vlsi.cornell.edu/magic/
MAINTAINER= ports@FreeBSD.org
COMMENT= An interactive editor for VLSI layouts
-USE_XLIB= yes
+USE_XORG= x11
USE_GMAKE= yes
-MAKE_ENV= CADDIR="${PREFIX}" X11BASE="${X11BASE}"
+MAKE_ENV= CADDIR="${PREFIX}"
ALL_TARGET= mains
BINS= XHelper7 ext2sim ext2spice extcheck magic magicusage net2ir
diff --git a/cad/magic/files/defs.mak b/cad/magic/files/defs.mak
index fd1f5c37374c..3082889957a4 100644
--- a/cad/magic/files/defs.mak
+++ b/cad/magic/files/defs.mak
@@ -28,9 +28,9 @@ READLINE_LIBS = -lreadline -ltermcap
DEPEND_FLAG = -MM
DEPEND_FILE = Depend
-GR_CFLAGS = -I${X11BASE}/include
+GR_CFLAGS = -I${LOCALBASE}/include
GR_DFLAGS = -DX11 -DXLIB -DX11HELP_PROG=\"${X11HELP_PROG}\"
-GR_LIBS = -L${X11BASE}/lib -lX11
+GR_LIBS = -L${LOCALBASE}/lib -lX11
GR_SRCS = ${X11_SRCS}
GR_HELPER_SRCS = ${X11HELPER_SRCS}
GR_HELPER_PROG = ${X11HELP_PROG}