diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /cad/leocad | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | FreeBSD-ports-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip FreeBSD-ports-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz |
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
Diffstat (limited to 'cad/leocad')
-rw-r--r-- | cad/leocad/Makefile | 3 | ||||
-rw-r--r-- | cad/leocad/files/patch-config.mk | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cad/leocad/Makefile b/cad/leocad/Makefile index bf612471..85acf2e 100644 --- a/cad/leocad/Makefile +++ b/cad/leocad/Makefile @@ -39,8 +39,7 @@ post-extract: post-patch: @${REINPLACE_CMD} -e \ - 's|%%X11BASE%%|${X11BASE}|g; \ - s|%%LOCALBASE%%|${LOCALBASE}|g; \ + 's|%%LOCALBASE%%|${LOCALBASE}|g; \ s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|; \ s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \ ${WRKSRC}/config.mk diff --git a/cad/leocad/files/patch-config.mk b/cad/leocad/files/patch-config.mk index 8f9dc51..262869e 100644 --- a/cad/leocad/files/patch-config.mk +++ b/cad/leocad/files/patch-config.mk @@ -22,7 +22,7 @@ $FreeBSD$ OS := -DLC_LINUX OSDIR := linux -PREFIX := /usr/local -+PREFIX := %%X11BASE%% ++PREFIX := %%LOCALBASE%% GTK_CONFIG := gtk12-config -CPPFLAGS += -L/usr/local/lib +CPPFLAGS += ${CFLAGS} -L%%LOCALBASE%%/lib -I%%LOCALBASE%%/include %%PTHREAD_CFLAGS%% |